No Data Inbounds while clipping timeseries enabled netcdf #251
Unanswered
SarvaPulla
asked this question in
Q&A
Replies: 1 comment 8 replies
-
Are you passing in the CRS of your geometry when clipping? Here is an example: https://corteva.github.io/rioxarray/stable/examples/clip_geom.html#Clip-using-a-GeoDataFrame |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am trying to clip GRACE netcdf files using a shapefile. The following workflow works for certain regions/shapefiles: https://gis.stackexchange.com/questions/354782/how-to-mask-netcdf-time-series-data-from-a-shapefile-in-python/354798#354798. But it's intermittent. For example, it didn't work with a missouri shapefile. It keeps throwing a no data found inbounds error for variable 'lwe_thickness'. The data could be NaNs but there definitely is data all over the globe. Here is a sample dataset that I was trying against: https://tethys-staging.byu.edu/thredds/catalog/data/grace/grace/catalog.html?dataset=testDatasetScan/grace/grace/GRC_jpl_gw.nc. There are other datasets here as well: https://tethys-staging.byu.edu/thredds/catalog/data/grace/grace/catalog.html
Beta Was this translation helpful? Give feedback.
All reactions