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

trouble downloading variables with vertical layers with getRaster #29

Open
jbuler opened this issue Dec 27, 2023 · 2 comments
Open

trouble downloading variables with vertical layers with getRaster #29

jbuler opened this issue Dec 27, 2023 · 2 comments

Comments

@jbuler
Copy link

jbuler commented Dec 27, 2023

Thanks so much for yor package! I am trying to download the raster of v wind component at 10m from the NAM service and am getting an error. I think it is having difficulty parsing out the two vertical layers attributed to this variable? I tried using the 'vertical' argument that exists for getPoint, but not sure that argument works for getRaster. Here is what I tried and the error I received. Thanks for your assistance with this.

cloudNAM<-getRaster('v-component_of_wind_height_above_ground', vertical=1, day=testDay, box=bbox, service ='nam')
|=================================================================================================================| 100%
File(s) available at /tmp/Rtmp7lV4q9

Some URLs did not work. Check this file for details: /tmp/Rtmp7lV4q9/failedURL_f20085ae65931

Error in setZ(b, tt) : length(z) == nlayers(x) is not TRUE
In addition: There were 33 warnings (use warnings() to see them)

@jbuler
Copy link
Author

jbuler commented Dec 27, 2023

I am using meteoForecast version 0.56.

@oscarperpinan
Copy link
Owner

oscarperpinan commented Jan 1, 2024

Hello,
I am sorry, but vertical coordinates are only implemented in getPoint for the GFS service.

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