xarray-contrib / xdggs

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

Select by parent grid cell ids #6

Open benbovy opened 10 months ago

benbovy commented 10 months ago

Assuming that a grid system is able to determine the resolution from the input cell ids, we could provide (integer) ids of parent cells via .sel() and a DGGSIndex is able to select all the (children) cells having those parents. It is not possible to pass custom options to .sel() so not possible to manually set the resolution of the input cells.