xarray-contrib / xdggs

Xarray extension for DGGS
https://xdggs.readthedocs.io
Apache License 2.0
79 stars 14 forks source link

move the conversion methods to the grid object #57

Closed keewis closed 5 months ago

keewis commented 5 months ago

As mentioned in https://github.com/xarray-contrib/xdggs/issues/35#issuecomment-2109655401, this moves the conversion methods of cell ids to / from geographic latitude / longitude coordinates to the grid info objects. The advantage of this is that testing and reusing the grid objects become easier.

keewis commented 5 months ago

since the was some support in #35, I'll go ahead an merge this. If it turns out to have been a mistake, we can always revert.