Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using NAM and RAP services #30

Open
franciscoleoncrz opened this issue Apr 3, 2024 · 1 comment
Open

Error using NAM and RAP services #30

franciscoleoncrz opened this issue Apr 3, 2024 · 1 comment

Comments

@franciscoleoncrz
Copy link

Hola,

Estoy intentando descargar datos de NAM y RAP, pero me da el siguiente error (v.0.56):

grepVar('', service = 'nam')
probando la URL 'https://www.ncei.noaa.gov/thredds/wcs/model-nam218/202404/20240402/nam_218_20240402_0000_001.grb2?service=WCS&version=1.0.0&request=GetCapabilities'
Error in download.file(wcsURL, xmlFile) :
no fue posible abrir la URL 'https://www.ncei.noaa.gov/thredds/wcs/model-nam218/202404/20240402/nam_218_20240402_0000_001.grb2?service=WCS&version=1.0.0&request=GetCapabilities'
Además: Warning message:
In download.file(wcsURL, xmlFile) :
cannot open URL 'https://www.ncei.noaa.gov/thredds/wcs/model-nam218/202404/20240402/nam_218_20240402_0000_001.grb2?service=WCS&version=1.0.0&request=GetCapabilities': HTTP status was '400 Bad Request'

grepVar('', service = 'rap')
probando la URL 'https://www.ncei.noaa.gov/thredds/wcs/model-rap130/202404/20240402/rap_130_20240402_0000_001.grb2?service=WCS&version=1.0.0&request=GetCapabilities'
Error in download.file(wcsURL, xmlFile) :
no fue posible abrir la URL 'https://www.ncei.noaa.gov/thredds/wcs/model-rap130/202404/20240402/rap_130_20240402_0000_001.grb2?service=WCS&version=1.0.0&request=GetCapabilities'
Además: Warning message:
In download.file(wcsURL, xmlFile) :
cannot open URL 'https://www.ncei.noaa.gov/thredds/wcs/model-rap130/202404/20240402/rap_130_20240402_0000_001.grb2?service=WCS&version=1.0.0&request=GetCapabilities': HTTP status was '400 Bad Request'

@oscarperpinan
Copy link
Owner

Hola,

Estos servicios no siempre publican los ficheros de los últimos días, y hay que conformarse con días anteriores. Por ejemplo,

grepVar("", service = "nam", day = Sys.Date() - 3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants