-
Notifications
You must be signed in to change notification settings - Fork 12
RFC: Reformat GeoZarr as a registration of Zarr translations of well-supported open standards and extensions #67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@csaybar @rprinceley @mdsumner @rabernat I'd be especially grateful for your feedback on this idea as key participants in the discussion over in OSGeo/gdal#11824. I would be glad to answer any questions or schedule a chat if my PR description isn't clear or a more synchronous discussion would help. Re-reading the discussion in OSGeo/gdal#11824, I think my proposal aligns with Even's first idea in OSGeo/gdal#11824 (comment):
with the addition that you could instead replace GeoTIFF/COG with a 1-1 mapping. |
Hi @maxrjones There is actually no major difference. What is proposed as a “harmonisation” of NetCDF, CF, and GeoTIFF is, in essence, a meta-model—precisely a translation of existing standards for compatibility, independent of source formats. The key distinction with your approach lies in this meta-model’s ability to describe how different pieces of information relate, regardless of origin. For instance, it allows conversion from NetCDF while adding overviews. This recent shift in direction is disappointing, as it continues to delay progress towards GeoZarr 1.0. Efforts would be better focused on progressing after merge of PR #65, by clearly defining the unified abstract model (e.g. overviews, affine transforms), followed by specifying the Zarr encodings of this model. As for CF, the translation is straightforward. Since CF is defined around NetCDF/CDM constructs, a whole copy of the original convention adapted to Zarr is useless as only a limited mapping (see encoding chapter) is needed (if you map CDM to Zarr, you mostly mapped also CF...) I acknowledge the efforts and work already invested, but yet another shift in direction makes me seriously consider stepping away from the process. |
This is great to hear!
I wouldn't say this is a shift in direction, in part because it's just a proposal and request for community input and secondly due to your above comment that there's no major difference.
I'm sad to hear this. My preference would absolutely be to find a compromise in direction that leaves everyone satisfied that their concerns have been appropriately considered, keeps everyone engaged in the process, and leads to commitments in adopting GeoZarr. |
This proposed structure also allows for conversion from NetCDF while adding overviews. The primary difference is the registration of a primary standard while supporting additions like overviews via the extension mechanism. I proposed this approach for the following reasons:
|
From my point of view, conformance classes is just an optional bonus for identifying specific constructs (could also be made for NetCDF) -> e.G. specifying a standard structure for product with multiple resolutions. I see an interest, but it's probably not required in a first version. For describing the information supported by GeoZarr we just need to define:
Everything is already there https://zarr.dev/geozarr-spec/documents/standard/template/geozarr-spec.htm , but we need progress for a consensus on:
|
This is a large and half-developed PR, but I wanted to open it anyways to share my preferred vision for GeoZarr. In particular, this PR represents the start of two steps I proposed in #63 (comment):
The current version of the CF translation is available at https://maxrjones.github.io/geozarr-spec/cf-conventions.html and the definition of standard conformance is available at https://github.com/maxrjones/geozarr-spec/blob/simple-translation/geozarr-spec.md (although the location of the extension definition may need to be in
attributes
rather thanextensions
depending on the outcome from zarr-developers/zeps#67).Background
As I mentioned in #63 (comment) and probably else-where, I do not agree with the path of developing OGC GeoZarr as a harmonization of OGC and CF. I instead encourage developing GeoZarr as:
My primary reasons are as follows:
Status
cc OGC SWG chairs @christophenoel @briannapagan