DGGRS Indexing #447
jerstlouis
started this conversation in
Comments and ideas for changing CF
Replies: 1 comment 4 replies
-
|
Hi @jerstlouis I'd like to raise your awareness towards a Zarr convention approach analogous to NetCDF-CF but with support for nested attributes (Zarr supports Dict-like attributes where NetCDF-CF only supports String-based key-value pairs: https://github.com/zarr-conventions/dggs |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Topic for discussion
Continuing the discussion started in cf-convention/cf-conventions#433 and cf-convention/vocabularies#290...
Possibilty to make the proposed HEALPix indexing DGGRS-agnostic
Is it still possible at this stage to make the HEALPix indexing proposed for 1.13 agnostic of any particular DGGRS?
This would primarily mean three straightforward things:
healpix_indexto something more generic likediscrete_global_grid_indexordggrs_global_indexdggrs_uripointing to a registered DGGRS (e.g., with the proposed OGC DGGRS registry) which implies a specific Discrete Global Grid Hierarchy (the mathematical structure defining the multi-resolution partitioning of the globe -- the discrete global grids, with precisely defined zone boundaries mapped to a specific reference model, commonly the WGS84 ellipsoid), as well as the Zone Identifier Reference System (the name of the zones, unique across all refinement levels), e.g., https://www.opengis.net/def/dggrs/OGC/1.0/HEALPix_NUNIQThis mechanism would allow using netCDF for DGGS data in a manner agnostic of any particular DGGRS, and is needed to support the
netcdf3-dggs-zoneidsandnetcdf4-dggs-zoneidsprofiles defined in (approved/published) OGC API - DGGS netCDF requirements class.If this proposal is too late to modify the current 1.13 proposal, please consider deprecating the
healpix_indexin favor of this DGGRS-agnostic approach in a future version.DGGS sub-zone based grid mapping (for compact zone data packets)
As a proposal for a subsequent version, could an additional grid mapping mechanism be considered to support the need of the
netcdf3-dggsandnetcdf4-dggsprofiles defined in OGC API - DGGS netCDF requirements class? These profiles are based on the concept of a root zone (a coarser zone for which data is being downloaded, for example based on a client selecting a set of large zones currently visible in the user's viewport), containing data values of all sub-zones (finer zones at least partially overlapping the coarser zone).This approach needs three contextual elements:
dggrs_uritag here), which already implies a particular Deterministic Sub-Zone Order (as defined in OGC API - DGGS),dggrs_root_index,dggs_relative_depth(the sub-zone's refinement level minus the root zone refinement level)And then the "coordinates" of the actual dimension being mapped (e.g., grid mapping could be called
dggrs_subzone_index) are highly compressible integers from 0 to nSubZones - 1, where nSubZones is the count of sub-zones for the root zone at that particular depth. For most DGGRSs, that count of sub-zones is a pre-determined value consistent for all root zones of a given type (e.g., hexagons or pentagons for hexagonal DGGRS) and relative depth (of the order of aperture^depth).Beta Was this translation helpful? Give feedback.
All reactions