xarray-contrib / xdggs

Xarray extension for DGGS
Apache License 2.0
54 stars 9 forks source link

move the conversion methods to the grid object #57

Closed keewis closed 2 months ago

keewis commented 2 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 2 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.