Skip to content

How to handle zone data retrieval returns with collections that are mixed with dimensions. #65

Description

@tik65536

Originally posted by @tik65536 in #61 (comment)

related ogc pilot issue : https://gitlab.ogc.org/ogc/AI-DGGS/-/issues/59#note_39233

@fmigneault, I am handling the FIXME here. However, I have a question on the handling of mixed collections with and without the datetime dimension. Should we only assume that the zone ID is the only valid dimension? Otherwise, the dimension of the Zarr won't match.

In general, for other return types, such as DGGS-JSON, how is it handled?

Replied by @fmigneault

This is still an open question (see the sub-comments in the pilot issue https://gitlab.ogc.org/ogc/AI-DGGS/-/issues/59#note_39233).

In the meantime, I propose to handle it this way:

  • If the multi-collection request combines with/without datetime dimenions, the collections missing the datetime dimension would pad it with the repeated value for each temporal entry corresponding to the temporal instances of the superset of all datetime dimenions that are available from other collections being considered. Repeating the value for cases of missing datetime dimension makes sense IMO, since they normally return a "zone match" regardless of datetime (ie: the value "always applies").
  • If multiple collections have datetime dimensions, but they don't align (eg: offsets in the hours), temporal instances that mismatch between the requested time range would have to be null-padded, with all temporal instances being a superset of all available datetimes.

Eventually (future feature), we could integrate the resolution (see https://gitlab.ogc.org/ogc/AI-DGGS/-/issues/63) or similar feature to help aggregate/align collections temporally with resampling. However, I think the ongoing discussions need more time to make sure the strategy is robust to move forward with that feature.

Seems to be a corresponding strategy used by other participants for experimental endpoints as well: https://gitlab.ogc.org/ogc/AI-DGGS/-/issues/59#note_39362

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfeaturea new feature request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions