-
I have a netcdf file I'm trying to reproject and clip, but I'm having a hard time sorting out the georeferencing. Everything plots as expected in Panopoly. When I load the file with My dataset: I'm interested in the
When I try to reproject with So I go to write the CRS:
but that fails with How should I proceed in order to reproject my dataset? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The issue is likely to do with your lon/lat variables as they are 2D. I would select the variable(s) you want to use: ds = rioxarray.open_rasterio('daymet_v4_daily_na_prcp_2020.nc', variable="prcp") Also, if |
Beta Was this translation helpful? Give feedback.
The issue is likely to do with your lon/lat variables as they are 2D. I would select the variable(s) you want to use:
Also, if
grid_mapping
is already in yourattrs/encoding
then you don't need to write the CRS.