Skip to content

Create get_parameters in BaseEDRProvider#2367

Merged
tomkralidis merged 5 commits into
geopython:masterfrom
webb-ben:xarray-units
Jun 21, 2026
Merged

Create get_parameters in BaseEDRProvider#2367
tomkralidis merged 5 commits into
geopython:masterfrom
webb-ben:xarray-units

Conversation

@webb-ben

@webb-ben webb-ben commented Jun 21, 2026

Copy link
Copy Markdown
Member

Overview

Migrate creation of CoverageJSON Parameters object to BaseEDRProvider to allow downstream providers to control the creation of the parameters representation at the .../collections/{collection_id} endpoint.

Related Issue / discussion

Addresses #2362

Additional information

This allow allows for a unified implementation of CovJSON parameters between the parameters offered at the metdata endpoint and the literal parameters returned by the provider. This is demonstrated in the implementation of the get_parameters function for Coverages returned by the Xarray provider.

Dependency policy (RFC2)

  • I have ensured that this PR meets RFC2 requirements

Updates to public demo

Contributions and licensing

(as per https://github.com/geopython/pygeoapi/blob/master/CONTRIBUTING.md#contributions-and-licensing)

  • I'd like to contribute [feature X|bugfix Y|docs|something else] to pygeoapi. I confirm that my contributions to pygeoapi will be compatible with the pygeoapi license guidelines at the time of contribution
  • I have already previously agreed to the pygeoapi Contributions and Licensing Guidelines

@webb-ben webb-ben requested a review from a team June 21, 2026 00:43
@tomkralidis tomkralidis added this to the 0.24.0 milestone Jun 21, 2026
@tomkralidis tomkralidis added the OGC API - Environmental Data Retrieval OGC API - Environmental Data Retrieval label Jun 21, 2026
@tomkralidis tomkralidis merged commit a517343 into geopython:master Jun 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OGC API - Environmental Data Retrieval OGC API - Environmental Data Retrieval

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants