pydra-core

Python package for calculating hydraulic loads

https://github.com/hkv-products-services/pydra_core

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

Python package for calculating hydraulic loads

Basic Info
Statistics
  • Stars: 5
  • Watchers: 4
  • Forks: 0
  • Open Issues: 11
  • Releases: 9
Created over 1 year ago · Last pushed 10 months ago
Metadata Files
Readme License Citation

README.md

Pydra Core

Pydra Core is a Python package containing (part of) the functionalities from Hydra-NL. Pydra was started as an experimental Python version of Hydra-NL, developed by HKV together with Rijkswaterstaat WVL. Pydra is maintained by HKV. For questions about how to use this package, contact n.vandervegt@hkv.nl.

Currently the following Hydra-NL functionalities are included: * Exceedance Frequency Lines (Based on marginal statistics) * HBN (Probabilistically Determined Required Crest Height) * Profiles (Run-up, Average overtopping discharge, HBN)

For the following water systems: * Non-Tidal Rivers (Bovenrivieren 01 Rijn, 02 Maas, 18 Maasvallei) * Tidal Rivers (Benedenrivieren 03 Rijn, 04 Maas) * Coast (09/10 Waddenzee Oost en West; 11/12/13 Hollandse Kust Noord, Midden en Zuid; 15 Westerschelde) * Eastern Scheldt 'WBI2023' databases (14 Oosterschelde) * Lakes (07 IJsselmeer; 08 Markermeer) * Vecht-IJssel Delta (05 IJssel Delta; 06 Vecht Delta)

Pydra Core is published under de GNU GPL-3 license. Certain submodules have their own licensing.

Getting started

Using pip to install the package separately

run pip install pydra-core

```py import pydra_core

profile = pydracore.Profile("Borselle") profile.setdikecrestlevel(10.75) profile.setdikeorientation(225) profile.setdikegeometry([-30, 30], [-10, 10]) profile.draw_profile() ```

Refer to the documentation for more examples.

Developing with pixi

To manage the environment we use Pixi.

Windows

powershell iwr -useb https://pixi.sh/install.ps1 | iex

Linux/Mac

bash curl -fsSL https://pixi.sh/install.sh | bash

Installing

With the Pixi command in powershell install the python environment:

bash cd ..../pydra_core pixi install

The pixi.lock file loads the correct packages and downloads to the .pixi file, you can use this environment in developing and resting.

Run pixi run quarto-render to create documentation locally, this will be in the docs\docs file.

Certain submodules depend on external libraries

The files CombOverloopOverslag64.dll and DynamicLib-DaF.dll are obtained from Hydra-NL v2.8.2 which is freely available through the dutch government and have been published with permission.

The dllDikesOvertopping.dll, feedbackDLL.dll, and libiomp5md.dll are part of DiKErnel which is made by Deltares and published under the GNU AFFERO GPL v3 license. These dll files are only included to make use of this package easier.

Owner

  • Name: HKV-products-services
  • Login: HKV-products-services
  • Kind: organization

Citation (CITATION.cff)

# YAML 1.2
---
authors:
  -
    affiliation: "HKV lijn in water"
    family-names: van der Vegt
    given-names: Niels
    orcid: "https://orcid.org/0009-0004-9542-0979"
  - 
    affiliation: "HKV lijn in water"
    family-names: Kindermann
    given-names: Paulina
  -
    affiliation: "HKV lijn in water"
    family-names: Caspers
    given-names: Jochem
  - 
    affiliation: "HKV lijn in water"
    family-names: Haasnoot
    given-names: David
    orcid: "https://orcid.org/0009-0002-4838-8350"
  -
    affiliation: "HKV lijn in water"
    family-names: Dupuits
    given-names: Guy
    orcid: "https://orcid.org/0000-0002-2472-7699"
  -
    affiliation: "HKV lijn in water"
    family-names:  Aerts
    given-names: Jerom
    orcid: "https://orcid.org/0000-0003-0157-4818"
  -
    affiliation: "HKV lijn in water"
    family-names: Waterman
    given-names: Rolf
  -
    affiliation: "HKV lijn in water"
    family-names: Thonus
    given-names: Bart
  -
    affiliation: "HKV lijn in water"
    family-names: Zethof
    given-names: Marit

cff-version: "0.0.1"
keywords:
  - Waterveiligheid
license: "GPL-3.0-or-later"
message: "If you use this software, please cite it using these metadata."
repository-code: "https://github.com/HKV-products-services/pydra_core"
title: Pydra Core

GitHub Events

Total
  • Create event: 11
  • Issues event: 10
  • Release event: 9
  • Watch event: 4
  • Delete event: 4
  • Issue comment event: 3
  • Public event: 1
  • Push event: 102
  • Pull request event: 43
Last Year
  • Create event: 11
  • Issues event: 10
  • Release event: 9
  • Watch event: 4
  • Delete event: 4
  • Issue comment event: 3
  • Public event: 1
  • Push event: 102
  • Pull request event: 43

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 9
  • Total pull requests: 18
  • Average time to close issues: 2 months
  • Average time to close pull requests: about 1 hour
  • Total issue authors: 2
  • Total pull request authors: 3
  • Average comments per issue: 0.67
  • Average comments per pull request: 0.0
  • Merged pull requests: 13
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 9
  • Pull requests: 18
  • Average time to close issues: 2 months
  • Average time to close pull requests: about 1 hour
  • Issue authors: 2
  • Pull request authors: 3
  • Average comments per issue: 0.67
  • Average comments per pull request: 0.0
  • Merged pull requests: 13
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • nielsvandervegt (7)
  • Daafip (2)
Pull Request Authors
  • nielsvandervegt (14)
  • Daafip (7)
  • guydup (1)
Top Labels
Issue Labels
enhancement (6) bug (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 165 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 9
  • Total maintainers: 3
pypi.org: pydra-core

Python package for calculating hydraulic loads

  • Versions: 9
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 165 Last month
Rankings
Dependent packages count: 9.9%
Average: 32.7%
Dependent repos count: 55.6%
Maintainers (3)
Last synced: 10 months ago

Dependencies

.github/workflows/lint.yml actions
  • actions/checkout v4 composite
  • prefix-dev/setup-pixi v0.8.1 composite
.github/workflows/python-publish.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
  • pypa/gh-action-pypi-publish release/v1 composite
.github/workflows/quarto-docs.yml actions
  • actions/checkout v4 composite
  • peaceiris/actions-gh-pages v4 composite
  • prefix-dev/setup-pixi v0.8.1 composite
src/pyproject.toml pypi