corteva / rioxarray

geospatial xarray extension powered by rasterio
https://corteva.github.io/rioxarray
Other
528 stars 84 forks source link

Documentation says `grid_mapping` is in attrs but really is in `encoding` #815

Open arkanoid87 opened 4 weeks ago

arkanoid87 commented 4 weeks ago

I was handling missing CRS information in my Zarr files, but I was dealing with a missing grid_mapping in attrs when it really was in encoding.

CRS Management page says Look in attributes (attrs) of your data array for the grid_mapping coordinate name.

but the API says it's in encoding

snowman2 commented 4 weeks ago

A PR updating the documentation is welcome.

snowman2 commented 4 weeks ago

encoding is the correct location