Skip to content

[REQUEST] Greece #106

@thiagovmdon

Description

@thiagovmdon

Data source
OpenHI / Enhydris public API on https://system.openhi.net/api/ . Public portal: https://openhi.net/en/ . API references: https://system.openhi.net/api/ and https://enhydris.readthedocs.io/en/latest/dev/webservice-api.html . Data licence: CC BY-SA 4.0 https://openhi.net/licence/ .

Type of data portal
This is a public historical time-series API and does not require authentication for the station, timeseries group, timeseries, or CSV data endpoints. Historical retrieval works through /data/ endpoints with start_date / end_date and fmt=csv.

Useful discovery endpoints:

Country/Countries/Regions
Greece

Variables
The hydrometric variables currently verified are:

  • stage / water level (Stage, Water Level)
  • discharge (Discharge)

Station list
The station list can be discovered from the public station search endpoint. The most useful approach appears to be taking the union of:

  • ts_only: variable:stage
  • ts_only: variable:level
  • ts_only: variable:discharge

The station search results include station id, station name, geometry, owner, and provider date fields. Timeseries coverage then has to be mapped via:

  • /api/stations/{station_id}/timeseriesgroups/
  • /api/stations/{station_id}/timeseriesgroups/{group_id}/timeseries/

Verified examples:

At the moment the ts_only search appears to return about 64 candidate stations, with hydrometric coverage of roughly 42 stage / water level stations and 8 discharge stations.

Code snippets
Implemented in the branch greece.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions