Skip to content
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

EDR Metadata can now be harmonized #373

Merged
merged 10 commits into from
Jun 7, 2024
Merged

EDR Metadata can now be harmonized #373

merged 10 commits into from
Jun 7, 2024

Conversation

maartenplieger
Copy link
Member

@maartenplieger maartenplieger commented May 22, 2024

Closes #359

This allows to configure extra metadata for the parameters in the Edr collection response

    <OgcApiEdr>
        <EdrCollection name="harmonie">
            <EdrParameter
                name="air_temperature__at_2m"
                unit="°C"
                standard_name="air_temperature"
                observed_property_label="Air temperature"
                parameter_label="Air temperature, 2 metre" />
        </EdrCollection>
    </OgcApiEdr>

To test:

The parameter in the collection endpoint now lists:

"parameter_names": {
    "air_temperature__at_2m": {
      "type": "Parameter",
      "id": "air_temperature__at_2m",
      "label": "Air temperature, 2 metre",
      "description": "harmonie - air_temperature__at_2m (air_temperature__at_2m)",
      "unit": {
        "symbol": {
          "value": "°C",
          "type": "http://www.opengis.net/def/uom/UCUM"
        }
      },
      "observedProperty": {
        "id": "https://vocab.nerc.ac.uk/standard_name/air_temperature",
        "label": "Air temperature"
      }
    }
  }

python/python_fastapi_server/routers/edr.py Outdated Show resolved Hide resolved
python/python_fastapi_server/routers/edr.py Outdated Show resolved Hide resolved
python/python_fastapi_server/routers/edr.py Outdated Show resolved Hide resolved
python/python_fastapi_server/routers/edr.py Outdated Show resolved Hide resolved
adagucserverEC/Definitions.h Outdated Show resolved Hide resolved
python/python_fastapi_server/routers/edr.py Outdated Show resolved Hide resolved
doc/tutorials/Configure_EDR_service.md Outdated Show resolved Hide resolved
python/python_fastapi_server/routers/edr.py Outdated Show resolved Hide resolved
python/python_fastapi_server/routers/edr.py Outdated Show resolved Hide resolved
NEWS.md Outdated Show resolved Hide resolved
NEWS.md Outdated Show resolved Hide resolved
doc/tutorials/Configure_EDR_service.md Outdated Show resolved Hide resolved
python/python_fastapi_server/routers/edr.py Outdated Show resolved Hide resolved
python/python_fastapi_server/routers/edr.py Outdated Show resolved Hide resolved
python/python_fastapi_server/routers/edr.py Show resolved Hide resolved
python/python_fastapi_server/routers/edr.py Outdated Show resolved Hide resolved
python/python_fastapi_server/routers/edr.py Outdated Show resolved Hide resolved
python/python_fastapi_server/routers/edr.py Outdated Show resolved Hide resolved
python/python_fastapi_server/routers/edr.py Outdated Show resolved Hide resolved
@maartenplieger maartenplieger merged commit 07661fe into master Jun 7, 2024
2 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.

Improve EDR metadata for parameters
3 participants