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

GridMet Error with palmer (different from issue #32) #33

Closed
rsmiller74 opened this issue Apr 12, 2021 · 2 comments
Closed

GridMet Error with palmer (different from issue #32) #33

rsmiller74 opened this issue Apr 12, 2021 · 2 comments

Comments

@rsmiller74
Copy link

Example below. Error persists with any year combination but runs fine with call to other gridMet layers.

start.year=2015
end.year=2016

#--Extract rasters
dat <- getGridMET(aoi_get(country = c("US")), param="palmer", startDate = start.date, endDate = end.date)

Requested AOI not completly in model domain...AOI is being clipped
although coordinates are longitude/latitude, st_intersection assumes that they are planar
Error in { : task 1 failed - "NetCDF: Access failure"
In addition: Warning message:
attribute variables are assumed to be spatially constant throughout all geometries

@mikejohnson51
Copy link
Owner

Hi @rsmiller74,

I hope this solves the dastardly palmer errors 😬 including this, #32, #7 #34 and #11

Please check it out and confirm it looks good on your end if willing,

Thanks!

library(climateR)
library(AOI)

dat <- getGridMET(AOI = AOI::aoi_get(country = c("US")), 
                  param="palmer", 
                  startDate = "2015-01-01", 
                  endDate = "2015-01-31")

rasterVis::levelplot(dat$palmer$X2015_pentad_1)

Created on 2021-04-12 by the reprex package (v1.0.0)

@rsmiller74
Copy link
Author

Looks good! Thanks Mike!

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