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

Move to Python API for HYDRA exceedance frequencies #155

Open
12 tasks
veenstrajelmer opened this issue Oct 14, 2024 · 0 comments
Open
12 tasks

Move to Python API for HYDRA exceedance frequencies #155

veenstrajelmer opened this issue Oct 14, 2024 · 0 comments

Comments

@veenstrajelmer
Copy link
Collaborator

Currently manually extracting HYDRA data:

  • currently manually extracting exceedance frequencies from Hydra-NL: Hydra-NL manual exceedance frequency extraction #107. However, the current Hydra-NL freqs are significantly different than the ones used before (csv) and further away from the measurements, why? The latter is mainly relevant for HOEKVHLD, so this might also just be an exception.
  • databases WBI2017 (zichtjaar 2023) are available online via STACK
  • avoid need for manual extraction and p-drive link for HYDRA-NL data by moving to HYDRA-RING Python API
  • HYDRA-RING is executable, so this can be called by using database as input, but requires sqlite database (which requires quite some work to set up properly). In 2024 there will be worked on a HYDRA-RING Python API/wrapper, which makes this easier (https://issuetracker.deltares.nl/browse/HRING-2043)
  • prevent the need to supply dict with 'Hydra-NL' distribution, this is typo-risky

Wishlist for HYDRA-RING Python API:

  • retrieve results based on user-defined xy-coordinates, API gets values nearest locationid from correct database automatically (including a max_distance parameter)
  • retrieve results for a user-defined list of frequencies
  • retrieve values relevant for kw 2011/2021/etc. This depends on "zichtjaar" 2011(?)/2023/2035/etc and SLR choices
  • include model uncertainty (or not)
  • pip installable with light dependencies (single package that does not require separate artifacts)
  • no need to manually download databases from somewhere
  • single line/request to retrieve list of exceedance frequency values for a particular station
@veenstrajelmer veenstrajelmer changed the title Link to Python API for hydra exceedance frequencies Link to Python API for HYDRA exceedance frequencies Oct 14, 2024
@veenstrajelmer veenstrajelmer changed the title Link to Python API for HYDRA exceedance frequencies Move to Python API for HYDRA exceedance frequencies Oct 23, 2024
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

No branches or pull requests

1 participant