Good practices for storing CRS in a dataset #8477
-
Hello, I'm encountering problems when I try to save (to_netcdf) and reopen a netCDF file with After some searching I found that:
ds['crs'] = xr.DataArray(name='crs', attrs=pyproj.CRS(4326).to_cf())
ds.attrs['grid_mapping'] = 'crs'
Cue to my questions:
|
Beta Was this translation helpful? Give feedback.
Answered by
pierre-manchon
Nov 29, 2023
Replies: 1 comment
-
Reused #2288 (comment) for now |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
pierre-manchon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reused #2288 (comment) for now