Skip to content

Conversation

@huard
Copy link
Collaborator

@huard huard commented Jul 1, 2025

RDPS and HRDPS are the datasets used to train the spatial downscaling U-Net in the GeoConnexions project.

There are small test samples here:
https://pavics.ouranos.ca/twitcher/ows/proxy/thredds/catalog/birdhouse/testdata/HRDPS/catalog.html

This PR runs STAC item creation tests against those datasets. The only fixes needed to run the tests were

  1. Add a default create_uid method in the THREDDSCatalogDataModel. Not doing so would mean having to create a custom extension for every dataset we want to add to the catalog. The default UID is just the location of the dataset relative to the fileserver/ URL.
  2. Change how empty vertical spatial extents are encoded to match the schema. Previously [", "], now [None, None].

Notes

In the DataCube 2.2.0 schema, the vertical_spatial_dimension has a required extent defined as

extent_open": {
      "type": "array",
      "minItems": 2,
      "maxItems": 2,
      "items": {
        "type": [
          "number",
          "null"
        ]
      }
    }

huard added 3 commits June 25, 2025 18:55
… to ensure uniqueness. Fix iterator in THREDDSLoader. Update CORDEX test data.
…eHelper for vertical coordinate extents. Split and clean script to update test data. Add tests for RDPS and HRDPS attributes with no custom extension.
Copy link
Collaborator

@fmigneault fmigneault left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a run of ruff format.

@fmigneault fmigneault mentioned this pull request Jul 2, 2025
henriaidasso added a commit to henriaidasso/stac-populator that referenced this pull request Sep 23, 2025
@huard huard merged commit ce878ef into crim-ca:master Sep 30, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants