pydra-core 0.0.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pydra_core/__init__.py +32 -0
- pydra_core/common/__init__.py +0 -0
- pydra_core/common/common.py +98 -0
- pydra_core/common/enum.py +63 -0
- pydra_core/common/interpolate.py +345 -0
- pydra_core/common/probability.py +293 -0
- pydra_core/core/__init__.py +0 -0
- pydra_core/core/calculation.py +51 -0
- pydra_core/core/datamodels/__init__.py +0 -0
- pydra_core/core/datamodels/frequency_line.py +60 -0
- pydra_core/core/exceedance_frequency_line.py +224 -0
- pydra_core/core/exceedance_frequency_line_experimental.py +163 -0
- pydra_core/core/hbn.py +226 -0
- pydra_core/data/settings/calculation_settings.sqlite +0 -0
- pydra_core/data/settings/lower_river_settings.cpg +1 -0
- pydra_core/data/settings/lower_river_settings.dbf +0 -0
- pydra_core/data/settings/lower_river_settings.prj +1 -0
- pydra_core/data/settings/lower_river_settings.shp +0 -0
- pydra_core/data/settings/lower_river_settings.shx +0 -0
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_2017.txt +37 -0
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_2017_metOnzHeid.txt +46 -0
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_OI2014_G_2015_metOnzHeid_v02.txt +50 -0
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_OI2014_G_2015_v02.txt +42 -0
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_OI2014_G_2050_metOnzHeid_v02.txt +56 -0
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_OI2014_G_2050_v02.txt +48 -0
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_OI2014_G_2100_metOnzHeid_v02.txt +56 -0
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_OI2014_G_2100_v02.txt +48 -0
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_OI2014_W_2015_metOnzHeid_v02.txt +50 -0
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_OI2014_W_2015_v02.txt +42 -0
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_OI2014_W_2050_metOnzHeid_v02.txt +56 -0
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_OI2014_W_2050_v02.txt +48 -0
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_OI2014_W_2100_metOnzHeid_v02.txt +51 -0
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_OI2014_W_2100_v02.txt +44 -0
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_Ref.txt +28 -0
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_2017.txt +31 -0
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_2017_metOnzHeid.txt +33 -0
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_OI2014_G_2015.txt +44 -0
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_OI2014_G_2015_metOnzHeid.txt +34 -0
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_OI2014_G_2050.txt +44 -0
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_OI2014_G_2050_metOnzHeid.txt +34 -0
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_OI2014_G_2100.txt +44 -0
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_OI2014_G_2100_metOnzHeid.txt +39 -0
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_OI2014_W_2015.txt +44 -0
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_OI2014_W_2015_metOnzHeid.txt +34 -0
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_OI2014_W_2050.txt +44 -0
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_OI2014_W_2050_metOnzHeid.txt +34 -0
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_OI2014_W_2100.txt +44 -0
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_OI2014_W_2100_metOnzHeid.txt +34 -0
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_Ref.txt +14 -0
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_2017.txt +47 -0
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_2017_metOnzHeid.txt +47 -0
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_OI2014_G_2015.txt +49 -0
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_OI2014_G_2015_metOnzHeid.txt +59 -0
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_OI2014_G_2050.txt +49 -0
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_OI2014_G_2050_metOnzHeid.txt +59 -0
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_OI2014_G_2100.txt +49 -0
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_OI2014_G_2100_metOnzHeid.txt +59 -0
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_OI2014_W_2015.txt +49 -0
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_OI2014_W_2015_metOnzHeid.txt +59 -0
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_OI2014_W_2050.txt +49 -0
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_OI2014_W_2050_metOnzHeid.txt +59 -0
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_OI2014_W_2100.txt +49 -0
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_OI2014_W_2100_metOnzHeid.txt +59 -0
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_Ref.txt +21 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_2017.txt +33 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_2017_metOnzHeid.txt +60 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_G_2015.txt +49 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_G_2015_BenedenRijn.txt +50 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_G_2015_metOnzHeid.txt +63 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_G_2015_metOnzHeid_BenedenRijn.txt +65 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_G_2050.txt +49 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_G_2050_BenedenRijn.txt +50 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_G_2050_metOnzHeid.txt +63 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_G_2050_metOnzHeid_BenedenRijn.txt +65 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_G_2100.txt +49 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_G_2100_BenedenRijn.txt +50 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_G_2100_metOnzHeid.txt +63 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_G_2100_metOnzHeid_BenedenRijn.txt +65 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_W_2015.txt +50 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_W_2015_BenedenRijn.txt +51 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_W_2015_metOnzHeid.txt +63 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_W_2015_metOnzHeid_BenedenRijn.txt +65 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_W_2050.txt +50 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_W_2050_BenedenRijn.txt +51 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_W_2050_metOnzHeid.txt +63 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_W_2050_metOnzHeid_BenedenRijn.txt +65 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_W_2100.txt +50 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_W_2100_BenedenRijn.txt +51 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_W_2100_metOnzHeid.txt +63 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_W_2100_metOnzHeid_BenedenRijn.txt +65 -0
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_Ref.txt +23 -0
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_2017.txt +55 -0
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_2017_metOnzHeid.txt +55 -0
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_OI2014_G_2015.txt +46 -0
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_OI2014_G_2015_metOnzHeid.txt +65 -0
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_OI2014_G_2050.txt +46 -0
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_OI2014_G_2050_metOnzHeid.txt +65 -0
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_OI2014_G_2100.txt +46 -0
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_OI2014_G_2100_metOnzHeid.txt +65 -0
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_OI2014_W_2015.txt +47 -0
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_OI2014_W_2015_metOnzHeid.txt +65 -0
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_OI2014_W_2050.txt +47 -0
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_OI2014_W_2050_metOnzHeid.txt +65 -0
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_OI2014_W_2100.txt +47 -0
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_OI2014_W_2100_metOnzHeid.txt +65 -0
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_Ref.txt +15 -0
- pydra_core/data/statistics/Golfvorm/Borgharen/Golfvormen_Borgharen.txt +76 -0
- pydra_core/data/statistics/Golfvorm/Dalfsen/Golfvormen_Dalfsen.txt +83 -0
- pydra_core/data/statistics/Golfvorm/Grevelingenmeer/Golfvormen_Grevelingenmeer.txt +34 -0
- pydra_core/data/statistics/Golfvorm/IJsselmeer/Golfvormen_IJsselmeer.txt +83 -0
- pydra_core/data/statistics/Golfvorm/Lith/Golfvormen_Lith.txt +76 -0
- pydra_core/data/statistics/Golfvorm/Lobith/Golfvormen_Lobith.txt +76 -0
- pydra_core/data/statistics/Golfvorm/Markermeer/Golfvormen_Markermeer.txt +140 -0
- pydra_core/data/statistics/Golfvorm/Olst/Golfvormen_Olst.txt +83 -0
- pydra_core/data/statistics/Golfvorm/Veerse Meer/Golfvormen_Veersemeer.txt +54 -0
- pydra_core/data/statistics/Golfvorm/Veluwerandmeer/Golfvormen_Veluwerandmeer.txt +140 -0
- pydra_core/data/statistics/Golfvorm/Volkerak-Zoommeer/Golfvormen_Volkerakzoommeer.txt +74 -0
- pydra_core/data/statistics/Meerpeil/Grevelingenmeer/Ovkans_Grevelingenmeer_piekmeerpeil_2017.txt +13 -0
- pydra_core/data/statistics/Meerpeil/Grevelingenmeer/Ovkans_Grevelingenmeer_piekmeerpeil_2017_metOnzHeid.txt +25 -0
- pydra_core/data/statistics/Meerpeil/Grevelingenmeer/Ovkans_Grevelingenmeer_piekmeerpeil_v01.txt +13 -0
- pydra_core/data/statistics/Meerpeil/IJsselmeer/Ovkans_IJsselmeer_piekmeerpeil_2017.txt +26 -0
- pydra_core/data/statistics/Meerpeil/IJsselmeer/Ovkans_IJsselmeer_piekmeerpeil_2017_metOnzHeid.txt +40 -0
- pydra_core/data/statistics/Meerpeil/IJsselmeer/Ovkans_IJsselmeer_piekmeerpeil_v01.txt +15 -0
- pydra_core/data/statistics/Meerpeil/Markermeer/Ovkans_Markermeer_piekmeerpeil_2017.txt +19 -0
- pydra_core/data/statistics/Meerpeil/Markermeer/Ovkans_Markermeer_piekmeerpeil_2017_metOnzHeid.txt +38 -0
- pydra_core/data/statistics/Meerpeil/Markermeer/Ovkans_Markermeer_piekmeerpeil_v01.txt +11 -0
- pydra_core/data/statistics/Meerpeil/Veerse Meer/Ovkans_Veersemeer_piekmeerpeil_excl_peilverhoging.txt +14 -0
- pydra_core/data/statistics/Meerpeil/Veerse Meer/Ovkans_Veersemeer_piekmeerpeil_v01.txt +16 -0
- pydra_core/data/statistics/Meerpeil/Veluwerandmeer/Ovkans_Veluwerandmeer_piekmeerpeil_2017.txt +14 -0
- pydra_core/data/statistics/Meerpeil/Veluwerandmeer/Ovkans_Veluwerandmeer_piekmeerpeil_2017_metOnzHeid.txt +37 -0
- pydra_core/data/statistics/Meerpeil/Veluwerandmeer/Ovkans_Veluwerandmeer_piekmeerpeil_v01.txt +14 -0
- pydra_core/data/statistics/Meerpeil/Volkerak-Zoommeer/Ovkans_VZM_piekmeerpeil_BER-VZM.txt +18 -0
- pydra_core/data/statistics/Meerpeil/Volkerak-Zoommeer/Ovkans_VZM_piekmeerpeil_BER-VZM_metOnzHeid.txt +43 -0
- pydra_core/data/statistics/Restant/Oosterschelde/BesliskansenOSKering.txt +525 -0
- pydra_core/data/statistics/Restant/Oosterschelde/KansenFaseverschil_2023.txt +8 -0
- pydra_core/data/statistics/Restant/Oosterschelde/KansenFaseverschil_OS.txt +13 -0
- pydra_core/data/statistics/Restant/Oosterschelde/KansenStormduur_OS.txt +15 -0
- pydra_core/data/statistics/Restant/Oosterschelde/KansenStormduur_OS_40_60_80uur_2023.txt +17 -0
- pydra_core/data/statistics/Restant/Oosterschelde/ScenariokansenOSKering_2008.txt +24 -0
- pydra_core/data/statistics/Restant/Oosterschelde/ScenariokansenOSKering_2013.txt +19 -0
- pydra_core/data/statistics/Restant/Oosterschelde/ScenariokansenOSKering_2017.txt +19 -0
- pydra_core/data/statistics/Restant/Oosterschelde/ScenariokansenOSKering_2023.txt +14 -0
- pydra_core/data/statistics/Restant/Up2U/Up2U10.dat +59 -0
- pydra_core/data/statistics/Restant/Up2U/Up2Up.dat +59 -0
- pydra_core/data/statistics/Restant/Up2U/Up2Ustar.dat +59 -0
- pydra_core/data/statistics/Restant/hulpdijken.txt +60 -0
- pydra_core/data/statistics/Restant/hulpgolfhoogtes.txt +24 -0
- pydra_core/data/statistics/Restant/hulpgolfperiodes.txt +39 -0
- pydra_core/data/statistics/Restant/kansstormduur.txt +8 -0
- pydra_core/data/statistics/Restant/pwind_west.txt +34 -0
- pydra_core/data/statistics/Restant/pwind_west_met_Volkerfactor.txt +34 -0
- pydra_core/data/statistics/Restant/pwind_west_zonder_Volkerfactor.txt +34 -0
- pydra_core/data/statistics/Sigmafunctie/Hollandse Kust Midden/VS_sigmafunctie_Kust_Midden.txt +19 -0
- pydra_core/data/statistics/Sigmafunctie/Hollandse Kust Midden/VS_sigmafunctie_Kust_Midden_2017.txt +23 -0
- pydra_core/data/statistics/Sigmafunctie/Hollandse Kust Noord/VS_sigmafunctie_Kust_Noord.txt +19 -0
- pydra_core/data/statistics/Sigmafunctie/Hollandse Kust Noord/VS_sigmafunctie_Kust_Noord_2017.txt +23 -0
- pydra_core/data/statistics/Sigmafunctie/Hollandse Kust Zuid/VS_sigmafunctie_Kust_Zuid.txt +19 -0
- pydra_core/data/statistics/Sigmafunctie/Hollandse Kust Zuid/VS_sigmafunctie_Kust_Zuid_2017.txt +23 -0
- pydra_core/data/statistics/Sigmafunctie/Oosterschelde/VS_sigmafunctie_OS.txt +22 -0
- pydra_core/data/statistics/Sigmafunctie/Oosterschelde/VS_sigmafunctie_OS_16sectoren_2023.txt +24 -0
- pydra_core/data/statistics/Sigmafunctie/Oosterschelde/VS_sigmafunctie_OS_2017.txt +22 -0
- pydra_core/data/statistics/Sigmafunctie/Waddenzee Oost/VS_sigmafunctie_WZ_oost.txt +19 -0
- pydra_core/data/statistics/Sigmafunctie/Waddenzee Oost/VS_sigmafunctie_WZ_oost_2017.txt +23 -0
- pydra_core/data/statistics/Sigmafunctie/Waddenzee West/VS_sigmafunctie_WZ_west.txt +19 -0
- pydra_core/data/statistics/Sigmafunctie/Waddenzee West/VS_sigmafunctie_WZ_west_2017.txt +23 -0
- pydra_core/data/statistics/Sigmafunctie/Westerschelde/VS_sigmafunctie_WS.txt +19 -0
- pydra_core/data/statistics/Sigmafunctie/Westerschelde/VS_sigmafunctie_WS_2017.txt +23 -0
- pydra_core/data/statistics/Sluitpeilen/Sluitfunctie Europoortkering Maas 2017.csv +631 -0
- pydra_core/data/statistics/Sluitpeilen/Sluitfunctie Europoortkering Rijn 2017.csv +631 -0
- pydra_core/data/statistics/Sluitpeilen/Sluitfunctie Hollandsche IJsselkering.csv +757 -0
- pydra_core/data/statistics/Sluitpeilen/Sluitfunctie Oosterscheldekering 2017.csv +55081 -0
- pydra_core/data/statistics/Topduur/Borgharen/Topduur_Borgharen_2017.txt +19 -0
- pydra_core/data/statistics/Topduur/Borgharen/Topduur_Borgharen_v00.txt +14 -0
- pydra_core/data/statistics/Topduur/Dalfsen/Topduur_Dalfsen_2017.txt +20 -0
- pydra_core/data/statistics/Topduur/Dalfsen/Topduur_Dalfsen_v01.txt +16 -0
- pydra_core/data/statistics/Topduur/Grevelingenmeer/Topduur_Grevelingenmeer_2017.txt +14 -0
- pydra_core/data/statistics/Topduur/Grevelingenmeer/Topduur_Grevelingenmeer_v01.txt +14 -0
- pydra_core/data/statistics/Topduur/IJsselmeer/Topduur_IJsselmeer_2017.txt +20 -0
- pydra_core/data/statistics/Topduur/IJsselmeer/Topduur_IJsselmeer_v01.txt +15 -0
- pydra_core/data/statistics/Topduur/Lith/Topduur_Lith_2017.txt +19 -0
- pydra_core/data/statistics/Topduur/Lith/Topduur_Lith_v01.txt +17 -0
- pydra_core/data/statistics/Topduur/Lobith/Topduur_Lobith_2017.txt +19 -0
- pydra_core/data/statistics/Topduur/Lobith/Topduur_Lobith_v01.txt +17 -0
- pydra_core/data/statistics/Topduur/Markermeer/Topduur_Markermeer_2017.txt +20 -0
- pydra_core/data/statistics/Topduur/Markermeer/Topduur_Markermeer_v01.txt +12 -0
- pydra_core/data/statistics/Topduur/Olst/Topduur_Olst_2017.txt +20 -0
- pydra_core/data/statistics/Topduur/Olst/Topduur_Olst_v01.txt +16 -0
- pydra_core/data/statistics/Topduur/Veerse Meer/Topduur_Veersemeer_excl_peilverhoging.txt +13 -0
- pydra_core/data/statistics/Topduur/Veerse Meer/Topduur_Veersemeer_v01.txt +16 -0
- pydra_core/data/statistics/Topduur/Veluwerandmeer/Topduur_Veluwerandmeer_2017.txt +12 -0
- pydra_core/data/statistics/Topduur/Veluwerandmeer/Topduur_Veluwerandmeer_v01.txt +12 -0
- pydra_core/data/statistics/Topduur/Volkerak-Zoommeer/Topduur_Volkerakzoommeer_BER-VZM.txt +18 -0
- pydra_core/data/statistics/Windrichting/Deelen/Richtingskansen_Deelen_2017.txt +28 -0
- pydra_core/data/statistics/Windrichting/Hollandse Kust/KansenWindrichting_Kust.txt +17 -0
- pydra_core/data/statistics/Windrichting/Hollandse Kust/KansenWindrichting_Kust_2017.txt +24 -0
- pydra_core/data/statistics/Windrichting/Oosterschelde/KansenWindrichting_16sectoren_OS_2023.txt +31 -0
- pydra_core/data/statistics/Windrichting/Oosterschelde/KansenWindrichting_OS.txt +20 -0
- pydra_core/data/statistics/Windrichting/Oosterschelde/KansenWindrichting_OS_2017.txt +24 -0
- pydra_core/data/statistics/Windrichting/Schiphol/Richtingskansen_Schiphol_12sectoren.txt +20 -0
- pydra_core/data/statistics/Windrichting/Schiphol/Richtingskansen_Schiphol_12sectoren_2017.txt +20 -0
- pydra_core/data/statistics/Windrichting/Schiphol/Richtingskansen_Schiphol_2017.txt +28 -0
- pydra_core/data/statistics/Windrichting/Schiphol/kanswindrichting_v01.txt +28 -0
- pydra_core/data/statistics/Windrichting/Waddenzee/KansenWindrichting_WZ.txt +17 -0
- pydra_core/data/statistics/Windrichting/Waddenzee/KansenWindrichting_WZ_2017.txt +24 -0
- pydra_core/data/statistics/Windrichting/Westerschelde/KansenWindrichting_WS.txt +17 -0
- pydra_core/data/statistics/Windrichting/Westerschelde/KansenWindrichting_WS_2017.txt +24 -0
- pydra_core/data/statistics/Windsnelheid/De Kooy/OvkansWindsnelheid_Texel.txt +70 -0
- pydra_core/data/statistics/Windsnelheid/De Kooy/Ovkanswind_de Kooy_2017.txt +92 -0
- pydra_core/data/statistics/Windsnelheid/De Kooy/Ovkanswind_de Kooy_2017_metOnzHeid.txt +92 -0
- pydra_core/data/statistics/Windsnelheid/Deelen/Ovkanswind_Deelen_2017.txt +90 -0
- pydra_core/data/statistics/Windsnelheid/Deelen/Ovkanswind_Deelen_2017_metOnzHeid.txt +90 -0
- pydra_core/data/statistics/Windsnelheid/Hoek van Holland/OvkansWindsnelheid_Hoek van Holland.txt +70 -0
- pydra_core/data/statistics/Windsnelheid/Hoek van Holland/Ovkanswind_Hoek van Holland_2017.txt +92 -0
- pydra_core/data/statistics/Windsnelheid/Hoek van Holland/Ovkanswind_Hoek van Holland_2017_metOnzHeid.txt +92 -0
- pydra_core/data/statistics/Windsnelheid/IJmuiden/OvkansWindsnelheid_IJmuiden.txt +70 -0
- pydra_core/data/statistics/Windsnelheid/IJmuiden/Ovkanswind_IJmuiden_2017.txt +92 -0
- pydra_core/data/statistics/Windsnelheid/IJmuiden/Ovkanswind_IJmuiden_2017_metOnzHeid.txt +92 -0
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_Schiphol_12sectoren.txt +51 -0
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_Schiphol_12sectoren_2017.txt +90 -0
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_Schiphol_12sectoren_2017_metOnzHeid.txt +90 -0
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_Schiphol_12sectoren_2017_metWindDrag.txt +97 -0
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_Schiphol_12sectoren_2017_metWindDrag_metOnzHeid.txt +97 -0
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_Schiphol_16sectoren_2017_metWindDrag.txt +97 -0
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_Schiphol_16sectoren_2017_metWindDrag_metOnzHeid.txt +97 -0
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_Schiphol_2017.txt +90 -0
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_Schiphol_2017_metOnzHeid.txt +90 -0
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_Schiphol_met_Volkerfactor_2017.txt +90 -0
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_Schiphol_met_Volkerfactor_2017_metOnzHeid.txt +90 -0
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_schiphol.txt +58 -0
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_schiphol_10%.txt +64 -0
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_schiphol_5%.txt +62 -0
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_schiphol_B_met volker.txt +60 -0
- pydra_core/data/statistics/Windsnelheid/Vlissingen/OvkansWindsnelheid_OS.txt +67 -0
- pydra_core/data/statistics/Windsnelheid/Vlissingen/OvkansWindsnelheid_Vlissingen.txt +70 -0
- pydra_core/data/statistics/Windsnelheid/Vlissingen/Ovkanswind_Vlissingen_16sectoren_2023.txt +92 -0
- pydra_core/data/statistics/Windsnelheid/Vlissingen/Ovkanswind_Vlissingen_16sectoren_2023_metOnzHeid.txt +91 -0
- pydra_core/data/statistics/Windsnelheid/Vlissingen/Ovkanswind_Vlissingen_2017.txt +92 -0
- pydra_core/data/statistics/Windsnelheid/Vlissingen/Ovkanswind_Vlissingen_2017_metOnzHeid.txt +92 -0
- pydra_core/data/statistics/Windsnelheid/Vlissingen/Ovkanswind_Vlissingen_2017_metWindDrag.txt +97 -0
- pydra_core/data/statistics/Windsnelheid/Vlissingen/Ovkanswind_Vlissingen_2017_metWindDrag_metOnzHeid.txt +97 -0
- pydra_core/data/statistics/Windsnelheid/West-Terschelling/OvkansWindsnelheid_West-Tersch.txt +70 -0
- pydra_core/data/statistics/Windsnelheid/West-Terschelling/Ovkanswind_West Terschelling_2017.txt +92 -0
- pydra_core/data/statistics/Windsnelheid/West-Terschelling/Ovkanswind_West Terschelling_2017_metOnzHeid.txt +92 -0
- pydra_core/data/statistics/Zeewaterstand/Delfzijl/CondPovDelfzijl_12u_zichtjaar1985_2017.txt +82 -0
- pydra_core/data/statistics/Zeewaterstand/Delfzijl/CondPovDelfzijl_12u_zichtjaar1985_2017_metOnzHeid.txt +82 -0
- pydra_core/data/statistics/Zeewaterstand/Delfzijl/CondPovDelfzijl_12u_zichtjaar2017.txt +82 -0
- pydra_core/data/statistics/Zeewaterstand/Delfzijl/CondPovDelfzijl_12u_zichtjaar2017_metOnzHeid.txt +82 -0
- pydra_core/data/statistics/Zeewaterstand/Delfzijl/OvkansZee_Delfzijl.txt +71 -0
- pydra_core/data/statistics/Zeewaterstand/Den Helder/CondPovDenHelder_12u_zichtjaar1985_2017.txt +90 -0
- pydra_core/data/statistics/Zeewaterstand/Den Helder/CondPovDenHelder_12u_zichtjaar1985_2017_metOnzHeid.txt +90 -0
- pydra_core/data/statistics/Zeewaterstand/Den Helder/CondPovDenHelder_12u_zichtjaar2017.txt +89 -0
- pydra_core/data/statistics/Zeewaterstand/Den Helder/CondPovDenHelder_12u_zichtjaar2017_metOnzHeid.txt +89 -0
- pydra_core/data/statistics/Zeewaterstand/Den Helder/OvkansZee_Den Helder.txt +71 -0
- pydra_core/data/statistics/Zeewaterstand/Den Oever/CondPovDenOeverBuiten_12u_zichtjaar1985_2017.txt +89 -0
- pydra_core/data/statistics/Zeewaterstand/Den Oever/CondPovDenOeverBuiten_12u_zichtjaar1985_2017_metOnzHeid.txt +89 -0
- pydra_core/data/statistics/Zeewaterstand/Den Oever/CondPovDenOeverBuiten_12u_zichtjaar2017.txt +88 -0
- pydra_core/data/statistics/Zeewaterstand/Den Oever/CondPovDenOeverBuiten_12u_zichtjaar2017_metOnzHeid.txt +88 -0
- pydra_core/data/statistics/Zeewaterstand/Den Oever/OvkansZee_Den Oever.txt +71 -0
- pydra_core/data/statistics/Zeewaterstand/Hansweert/CondPovHansweert_12u_zichtjaar1985_2017.txt +72 -0
- pydra_core/data/statistics/Zeewaterstand/Hansweert/CondPovHansweert_12u_zichtjaar1985_2017_metOnzHeid.txt +72 -0
- pydra_core/data/statistics/Zeewaterstand/Hansweert/CondPovHansweert_12u_zichtjaar2017.txt +71 -0
- pydra_core/data/statistics/Zeewaterstand/Hansweert/CondPovHansweert_12u_zichtjaar2017_metOnzHeid.txt +71 -0
- pydra_core/data/statistics/Zeewaterstand/Hansweert/OvkansZee_Hansweert.txt +71 -0
- pydra_core/data/statistics/Zeewaterstand/Harlingen/CondPovHarlingen_12u_zichtjaar1985_2017.txt +86 -0
- pydra_core/data/statistics/Zeewaterstand/Harlingen/CondPovHarlingen_12u_zichtjaar1985_2017_metOnzHeid.txt +86 -0
- pydra_core/data/statistics/Zeewaterstand/Harlingen/CondPovHarlingen_12u_zichtjaar2017.txt +85 -0
- pydra_core/data/statistics/Zeewaterstand/Harlingen/CondPovHarlingen_12u_zichtjaar2017_metOnzHeid.txt +85 -0
- pydra_core/data/statistics/Zeewaterstand/Harlingen/OvkansZee_Harlingen.txt +71 -0
- pydra_core/data/statistics/Zeewaterstand/Hoek van Holland/CondPovHoekvanHolland_12u_zichtjaar1985_2017.txt +85 -0
- pydra_core/data/statistics/Zeewaterstand/Hoek van Holland/CondPovHoekvanHolland_12u_zichtjaar1985_2017_metOnzHeid.txt +85 -0
- pydra_core/data/statistics/Zeewaterstand/Hoek van Holland/CondPovHoekvanHolland_12u_zichtjaar2017.txt +84 -0
- pydra_core/data/statistics/Zeewaterstand/Hoek van Holland/CondPovHoekvanHolland_12u_zichtjaar2017_metOnzHeid.txt +84 -0
- pydra_core/data/statistics/Zeewaterstand/Hoek van Holland/OvkansZee_Hoek van Holland.txt +71 -0
- pydra_core/data/statistics/Zeewaterstand/Huibertgat/CondPovHuibertgat_12u_zichtjaar1985_2017.txt +87 -0
- pydra_core/data/statistics/Zeewaterstand/Huibertgat/CondPovHuibertgat_12u_zichtjaar1985_2017_metOnzHeid.txt +87 -0
- pydra_core/data/statistics/Zeewaterstand/Huibertgat/CondPovHuibertgat_12u_zichtjaar2017.txt +86 -0
- pydra_core/data/statistics/Zeewaterstand/Huibertgat/CondPovHuibertgat_12u_zichtjaar2017_metOnzHeid.txt +86 -0
- pydra_core/data/statistics/Zeewaterstand/Huibertgat/OvkansZee_Huibertgat.txt +71 -0
- pydra_core/data/statistics/Zeewaterstand/IJmuiden/CondPovIJmuiden_12u_zichtjaar1985_2017.txt +86 -0
- pydra_core/data/statistics/Zeewaterstand/IJmuiden/CondPovIJmuiden_12u_zichtjaar1985_2017_metOnzHeid.txt +86 -0
- pydra_core/data/statistics/Zeewaterstand/IJmuiden/CondPovIJmuiden_12u_zichtjaar2017.txt +86 -0
- pydra_core/data/statistics/Zeewaterstand/IJmuiden/CondPovIJmuiden_12u_zichtjaar2017_metOnzHeid.txt +86 -0
- pydra_core/data/statistics/Zeewaterstand/IJmuiden/OvkansZee_IJmuiden.txt +71 -0
- pydra_core/data/statistics/Zeewaterstand/IJmuiden virtueel/CondPovIJmuiden-Additional_12u_zichtjaar1985_2017.txt +86 -0
- pydra_core/data/statistics/Zeewaterstand/IJmuiden virtueel/CondPovIJmuiden-Additional_12u_zichtjaar1985_2017_metOnzHeid.txt +86 -0
- pydra_core/data/statistics/Zeewaterstand/IJmuiden virtueel/CondPovIJmuiden-Additional_12u_zichtjaar2017.txt +86 -0
- pydra_core/data/statistics/Zeewaterstand/IJmuiden virtueel/CondPovIJmuiden-Additional_12u_zichtjaar2017_metOnzHeid.txt +86 -0
- pydra_core/data/statistics/Zeewaterstand/IJmuiden virtueel/OvkansZee_IJmuiden_virtueel.txt +71 -0
- pydra_core/data/statistics/Zeewaterstand/Lauwersoog/CondPovLauwersoog_12u_zichtjaar1985_2017.txt +86 -0
- pydra_core/data/statistics/Zeewaterstand/Lauwersoog/CondPovLauwersoog_12u_zichtjaar1985_2017_metOnzHeid.txt +86 -0
- pydra_core/data/statistics/Zeewaterstand/Lauwersoog/CondPovLauwersoog_12u_zichtjaar2017.txt +85 -0
- pydra_core/data/statistics/Zeewaterstand/Lauwersoog/CondPovLauwersoog_12u_zichtjaar2017_metOnzHeid.txt +85 -0
- pydra_core/data/statistics/Zeewaterstand/Lauwersoog/OvkansZee_Lauwersoog.txt +71 -0
- pydra_core/data/statistics/Zeewaterstand/Maasmond/CondPovMaasmond_12u_zichtjaar1985_2011.txt +89 -0
- pydra_core/data/statistics/Zeewaterstand/Maasmond/CondPovMaasmond_12u_zichtjaar1985_2017.txt +89 -0
- pydra_core/data/statistics/Zeewaterstand/Maasmond/CondPovMaasmond_12u_zichtjaar1985_2017_metOnzheid.txt +93 -0
- pydra_core/data/statistics/Zeewaterstand/Maasmond/CondPovMaasmond_12u_zichtjaar2017.txt +86 -0
- pydra_core/data/statistics/Zeewaterstand/Maasmond/CondPovMaasmond_12u_zichtjaar2017_metOnzheid.txt +86 -0
- pydra_core/data/statistics/Zeewaterstand/Oosterschelde/CondPovOS11_12u_zichtjaar1985_2017.txt +80 -0
- pydra_core/data/statistics/Zeewaterstand/Oosterschelde/CondPovOS11_12u_zichtjaar1985_2017_metOnzHeid.txt +80 -0
- pydra_core/data/statistics/Zeewaterstand/Oosterschelde/CondPovOS11_12u_zichtjaar2017.txt +80 -0
- pydra_core/data/statistics/Zeewaterstand/Oosterschelde/CondPovOS11_12u_zichtjaar2017_metOnzHeid.txt +80 -0
- pydra_core/data/statistics/Zeewaterstand/Oosterschelde/CondPovOS11_16sectoren_12u_2023.txt +75 -0
- pydra_core/data/statistics/Zeewaterstand/Oosterschelde/CondPovOS11_16sectoren_12u_2023_metOnzHeid.txt +74 -0
- pydra_core/data/statistics/Zeewaterstand/Oosterschelde/OvkansZee_OS11.txt +71 -0
- pydra_core/data/statistics/Zeewaterstand/Oosterschelde/OvkansZeewaterstand_OS.txt +72 -0
- pydra_core/data/statistics/Zeewaterstand/Vlissingen/CondPovVlissingen_12u_zichtjaar1985_2017.txt +75 -0
- pydra_core/data/statistics/Zeewaterstand/Vlissingen/CondPovVlissingen_12u_zichtjaar1985_2017_metOnzHeid.txt +75 -0
- pydra_core/data/statistics/Zeewaterstand/Vlissingen/CondPovVlissingen_12u_zichtjaar2017.txt +75 -0
- pydra_core/data/statistics/Zeewaterstand/Vlissingen/CondPovVlissingen_12u_zichtjaar2017_metOnzHeid.txt +75 -0
- pydra_core/data/statistics/Zeewaterstand/Vlissingen/OvkansZee_Vlissingen.txt +71 -0
- pydra_core/data/statistics/Zeewaterstand/Vlissingen virtueel/CondPovVlissingen-Additional_12u_zichtjaar1985_2017.txt +75 -0
- pydra_core/data/statistics/Zeewaterstand/Vlissingen virtueel/CondPovVlissingen-Additional_12u_zichtjaar1985_2017_metOnzHeid.txt +75 -0
- pydra_core/data/statistics/Zeewaterstand/Vlissingen virtueel/CondPovVlissingen-Additional_12u_zichtjaar2017.txt +75 -0
- pydra_core/data/statistics/Zeewaterstand/Vlissingen virtueel/CondPovVlissingen-Additional_12u_zichtjaar2017_metOnzHeid.txt +75 -0
- pydra_core/data/statistics/Zeewaterstand/Vlissingen virtueel/OvkansZee_Vlissingen_virtueel.txt +71 -0
- pydra_core/data/statistics/Zeewaterstand/West-Terschelling/CondPovWestTerschelling_12u_zichtjaar1985_2017.txt +88 -0
- pydra_core/data/statistics/Zeewaterstand/West-Terschelling/CondPovWestTerschelling_12u_zichtjaar1985_2017_metOnzHeid.txt +88 -0
- pydra_core/data/statistics/Zeewaterstand/West-Terschelling/CondPovWestTerschelling_12u_zichtjaar2017.txt +87 -0
- pydra_core/data/statistics/Zeewaterstand/West-Terschelling/CondPovWestTerschelling_12u_zichtjaar2017_metOnzHeid.txt +87 -0
- pydra_core/data/statistics/Zeewaterstand/West-Terschelling/OvkansZee_West-Terschelling.txt +71 -0
- pydra_core/hrdatabase/__init__.py +0 -0
- pydra_core/hrdatabase/hrdatabase.py +177 -0
- pydra_core/io/__init__.py +0 -0
- pydra_core/io/database_hr.py +598 -0
- pydra_core/io/database_settings.py +183 -0
- pydra_core/io/file_hydranl.py +92 -0
- pydra_core/location/__init__.py +0 -0
- pydra_core/location/location.py +115 -0
- pydra_core/location/model/__init__.py +0 -0
- pydra_core/location/model/base_model.py +270 -0
- pydra_core/location/model/loading/__init__.py +0 -0
- pydra_core/location/model/loading/loading.py +368 -0
- pydra_core/location/model/loading/loading_factory.py +89 -0
- pydra_core/location/model/loading/loading_model/__init__.py +0 -0
- pydra_core/location/model/loading/loading_model/loading_model.py +324 -0
- pydra_core/location/model/loading/other_systems/__init__.py +0 -0
- pydra_core/location/model/loading/other_systems/loading_wave_overtopping.py +122 -0
- pydra_core/location/model/loading/water_systems/__init__.py +0 -0
- pydra_core/location/model/loading/water_systems/loading_coast.py +54 -0
- pydra_core/location/model/loading/water_systems/loading_eastern_scheldt.py +169 -0
- pydra_core/location/model/loading/water_systems/loading_ijssel_vechtdelta.py +55 -0
- pydra_core/location/model/loading/water_systems/loading_lake.py +55 -0
- pydra_core/location/model/loading/water_systems/loading_lower_rivier.py +68 -0
- pydra_core/location/model/loading/water_systems/loading_upper_river.py +55 -0
- pydra_core/location/model/statistics/__init__.py +0 -0
- pydra_core/location/model/statistics/other_systems/__init__.py +0 -0
- pydra_core/location/model/statistics/other_systems/statistics_wave_overtopping.py +72 -0
- pydra_core/location/model/statistics/statistics.py +171 -0
- pydra_core/location/model/statistics/statistics_factory.py +89 -0
- pydra_core/location/model/statistics/stochastics/__init__.py +0 -0
- pydra_core/location/model/statistics/stochastics/barrier/__init__.py +0 -0
- pydra_core/location/model/statistics/stochastics/barrier/barrier.py +43 -0
- pydra_core/location/model/statistics/stochastics/barrier/barrier_easternscheldt.py +147 -0
- pydra_core/location/model/statistics/stochastics/barrier/barrier_europoort.py +209 -0
- pydra_core/location/model/statistics/stochastics/barrier/barrier_ramspol.py +41 -0
- pydra_core/location/model/statistics/stochastics/barrier/no_barrier.py +21 -0
- pydra_core/location/model/statistics/stochastics/discharge.py +108 -0
- pydra_core/location/model/statistics/stochastics/discrete_probability.py +55 -0
- pydra_core/location/model/statistics/stochastics/lake_level.py +158 -0
- pydra_core/location/model/statistics/stochastics/model_uncertainty.py +358 -0
- pydra_core/location/model/statistics/stochastics/sea_level/sea_level.py +53 -0
- pydra_core/location/model/statistics/stochastics/sea_level/sea_level_lower_river.py +93 -0
- pydra_core/location/model/statistics/stochastics/sea_level/sea_level_point.py +65 -0
- pydra_core/location/model/statistics/stochastics/sea_level/sea_level_triangular.py +158 -0
- pydra_core/location/model/statistics/stochastics/sigma_function.py +24 -0
- pydra_core/location/model/statistics/stochastics/wave_shape.py +624 -0
- pydra_core/location/model/statistics/stochastics/wind_speed.py +196 -0
- pydra_core/location/model/statistics/water_systems/__init__.py +0 -0
- pydra_core/location/model/statistics/water_systems/statistics_coast.py +153 -0
- pydra_core/location/model/statistics/water_systems/statistics_eastern_scheldt.py +177 -0
- pydra_core/location/model/statistics/water_systems/statistics_ijssel_vechtdelta.py +229 -0
- pydra_core/location/model/statistics/water_systems/statistics_lake.py +86 -0
- pydra_core/location/model/statistics/water_systems/statistics_lower_river.py +321 -0
- pydra_core/location/model/statistics/water_systems/statistics_upper_river.py +86 -0
- pydra_core/location/model/water_system.py +249 -0
- pydra_core/location/model/wave_overtopping.py +25 -0
- pydra_core/location/profile/__init__.py +0 -0
- pydra_core/location/profile/foreland.py +246 -0
- pydra_core/location/profile/lib/DikesOvertopping.LICENSE +619 -0
- pydra_core/location/profile/lib/README.MD +10 -0
- pydra_core/location/profile/lib/__init__.py +1 -0
- pydra_core/location/profile/profile.py +971 -0
- pydra_core/location/profile/profile_loading.py +473 -0
- pydra_core/location/settings/__init__.py +0 -0
- pydra_core/location/settings/settings.py +387 -0
- pydra_core-0.0.1.dist-info/METADATA +22 -0
- pydra_core-0.0.1.dist-info/RECORD +389 -0
- pydra_core-0.0.1.dist-info/WHEEL +5 -0
@@ -0,0 +1,86 @@
|
|
1
|
+
import numpy as np
|
2
|
+
|
3
|
+
from ..statistics import Statistics
|
4
|
+
from ..stochastics.discharge import Discharge
|
5
|
+
from ..stochastics.discrete_probability import DiscreteProbability
|
6
|
+
from ..stochastics.model_uncertainty import ModelUncertainty
|
7
|
+
from ..stochastics.wind_speed import WindSpeed
|
8
|
+
from ....settings.settings import Settings
|
9
|
+
from .....common.probability import ProbabilityFunctions
|
10
|
+
|
11
|
+
|
12
|
+
class StatisticsUpperRiver(Statistics):
|
13
|
+
"""
|
14
|
+
Statistics class for the Upper Rivers
|
15
|
+
Water systems: Rhine Non Tidal and Meuse (Valley) Non Tidal
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, settings: Settings):
|
19
|
+
"""
|
20
|
+
Init the Statistics class
|
21
|
+
|
22
|
+
Parameters
|
23
|
+
----------
|
24
|
+
settings : Settings
|
25
|
+
The Settings object
|
26
|
+
"""
|
27
|
+
# Inherit initialisation method from parent
|
28
|
+
super().__init__(settings)
|
29
|
+
|
30
|
+
# Wind
|
31
|
+
self.wind_direction = DiscreteProbability(settings.wind_direction_probability)
|
32
|
+
self.wind_speed = WindSpeed(settings)
|
33
|
+
|
34
|
+
# Discharge
|
35
|
+
self.discharge = Discharge(settings)
|
36
|
+
|
37
|
+
# Model uncertainty
|
38
|
+
self.model_uncertainties = ModelUncertainty(settings)
|
39
|
+
|
40
|
+
# Discrete, slow, fast stochatics
|
41
|
+
self.stochastics_discrete = {
|
42
|
+
"r": self.wind_direction.get_discretisation(),
|
43
|
+
"k": [1],
|
44
|
+
}
|
45
|
+
self.stochastics_fast = {"u": self.wind_speed.get_discretisation()}
|
46
|
+
self.stochastics_slow = {"q": self.discharge.get_discretisation()}
|
47
|
+
|
48
|
+
def calculate_probability(
|
49
|
+
self, wind_direction: float, closing_situation: int = 1, given: list = []
|
50
|
+
):
|
51
|
+
"""
|
52
|
+
Calculate the probability of occurence for the discretisation given the wind direction.
|
53
|
+
|
54
|
+
Parameters
|
55
|
+
----------
|
56
|
+
direction : float
|
57
|
+
Wind direction
|
58
|
+
closing_situation : int
|
59
|
+
Closing situation, (irrelevant for Coast)
|
60
|
+
given : list
|
61
|
+
Given stochasts
|
62
|
+
"""
|
63
|
+
# Wind speed
|
64
|
+
ir = self.wind_direction.get_discretisation().tolist().index(wind_direction)
|
65
|
+
p_wind = ProbabilityFunctions.probability_density(
|
66
|
+
self.wind_speed.get_discretisation(),
|
67
|
+
self.wind_speed.get_exceedance_probability()[:, ir],
|
68
|
+
).probability[:, None]
|
69
|
+
if "u" in given:
|
70
|
+
p_wind[:] = 1.0
|
71
|
+
|
72
|
+
# Discharge
|
73
|
+
if "q" in given:
|
74
|
+
p_discharge = np.ones_like(self.discharge.get_discretisation())
|
75
|
+
else:
|
76
|
+
# If not given, use the instantaneous probability
|
77
|
+
p_discharge = ProbabilityFunctions.probability_density(
|
78
|
+
self.discharge.get_discretisation(),
|
79
|
+
1 - self.discharge.get_exceedance_probability(),
|
80
|
+
).probability
|
81
|
+
|
82
|
+
# Probability of wind direction
|
83
|
+
p_direction = 1.0 if "r" in given else self.wind_direction.get_probability()[ir]
|
84
|
+
|
85
|
+
# Combine probabilities
|
86
|
+
return p_wind * p_discharge[None, :] * p_direction
|
@@ -0,0 +1,249 @@
|
|
1
|
+
import numpy as np
|
2
|
+
|
3
|
+
from .base_model import BaseModel
|
4
|
+
from .loading.loading_factory import LoadingFactory
|
5
|
+
from .statistics.statistics_factory import StatisticsFactory
|
6
|
+
from ..settings.settings import Settings
|
7
|
+
from ...common.probability import ProbabilityFunctions
|
8
|
+
|
9
|
+
|
10
|
+
class WaterSystem(BaseModel):
|
11
|
+
def __init__(self, settings: Settings):
|
12
|
+
"""
|
13
|
+
Water System model
|
14
|
+
"""
|
15
|
+
# Inherit
|
16
|
+
super().__init__(settings)
|
17
|
+
|
18
|
+
# Statistics
|
19
|
+
self.statistics = StatisticsFactory.get_statistics(self.settings)
|
20
|
+
|
21
|
+
# Loading
|
22
|
+
self.loading = LoadingFactory.get_loading(self.settings)
|
23
|
+
|
24
|
+
def process_slow_stochastics(
|
25
|
+
self, exceedance_probability: np.ndarray, axis: int = None
|
26
|
+
) -> np.ndarray:
|
27
|
+
"""
|
28
|
+
Convert probabilities given a discharge to probabilities per duration.
|
29
|
+
|
30
|
+
This function converts probabilities represented by a discharge to
|
31
|
+
probabilities per specified duration based on the given stochastic
|
32
|
+
variable ('stochastic'). The probabilities are computed for each
|
33
|
+
duration (basisduur).
|
34
|
+
|
35
|
+
Parameters
|
36
|
+
----------
|
37
|
+
exceedance_probability : np.ndarray
|
38
|
+
Numpy array with the discharge on the first dimension.
|
39
|
+
|
40
|
+
Returns
|
41
|
+
-------
|
42
|
+
np.ndarray
|
43
|
+
Probabilities per specified duration (basisduur).
|
44
|
+
"""
|
45
|
+
# Input stochastics
|
46
|
+
statistics = self.get_statistics()
|
47
|
+
slow_stochastics = list(statistics.stochastics_slow.keys())
|
48
|
+
_axis = range(1, len(slow_stochastics) + 1) if axis is None else axis
|
49
|
+
|
50
|
+
# Put slow variable on first axis if not already
|
51
|
+
newpos = range(len(np.atleast_1d(_axis)))
|
52
|
+
if newpos != _axis:
|
53
|
+
ep_x = np.moveaxis(exceedance_probability, _axis, newpos)
|
54
|
+
else:
|
55
|
+
ep_x = exceedance_probability
|
56
|
+
|
57
|
+
# Calculate exceedance frequencies per peak discharge / lake level
|
58
|
+
ep_ks = self.process_wave_shape(ep_x)
|
59
|
+
|
60
|
+
# Steps in probability density
|
61
|
+
if len(slow_stochastics) == 1 and slow_stochastics[0] == "q":
|
62
|
+
p_peak = ProbabilityFunctions.probability_density(
|
63
|
+
statistics.discharge.qpeak, statistics.discharge.epqpeak
|
64
|
+
).probability
|
65
|
+
|
66
|
+
elif len(slow_stochastics) == 1 and slow_stochastics[0] == "a":
|
67
|
+
p_peak = ProbabilityFunctions.probability_density(
|
68
|
+
statistics.lake_level.apeak, statistics.lake_level.epapeak
|
69
|
+
).probability
|
70
|
+
|
71
|
+
elif len(slow_stochastics) == 2 and slow_stochastics == ["a", "q"]:
|
72
|
+
dq = ProbabilityFunctions.probability_density(
|
73
|
+
statistics.discharge.qblok, statistics.discharge.epqpeak
|
74
|
+
).delta
|
75
|
+
dm = ProbabilityFunctions.probability_density(
|
76
|
+
statistics.lake_level.ablok, statistics.lake_level.epapeak
|
77
|
+
).delta
|
78
|
+
p_peak = statistics.density_aq_peak * dm[:, None] * dq[None, :]
|
79
|
+
|
80
|
+
elif len(slow_stochastics) == 2 and slow_stochastics == ["q", "a"]:
|
81
|
+
dq = ProbabilityFunctions.probability_density(
|
82
|
+
statistics.discharge.qblok, statistics.discharge.epqpeak
|
83
|
+
).delta
|
84
|
+
da = ProbabilityFunctions.probability_density(
|
85
|
+
statistics.lake_level.ablok, statistics.lake_level.epapeak
|
86
|
+
).delta
|
87
|
+
p_peak = statistics.density_aq_peak.T * dq[:, None] * da[None, :]
|
88
|
+
|
89
|
+
# Reshape steps when multiplying to trapezoidal probs
|
90
|
+
shp = p_peak.shape + (1,) * (ep_ks.ndim - p_peak.ndim)
|
91
|
+
|
92
|
+
# Trapezoidal probability
|
93
|
+
p_trapezoidal = (p_peak.reshape(shp) * ep_ks).sum(
|
94
|
+
axis=tuple(range(p_peak.ndim))
|
95
|
+
)
|
96
|
+
|
97
|
+
return p_trapezoidal
|
98
|
+
|
99
|
+
def process_wave_shape(self, exceedance_probability: np.ndarray) -> np.ndarray:
|
100
|
+
"""
|
101
|
+
Process the discharge waveshapes into the exceedance probabilities
|
102
|
+
conditioned on the discharge level. The discharge level is represented
|
103
|
+
on the first axis, which has dimensions equal to the number of
|
104
|
+
discharge steps in the statistics.
|
105
|
+
|
106
|
+
Parameters
|
107
|
+
----------
|
108
|
+
exceedance_probability : np.ndarray
|
109
|
+
Numpy array containing the exceedance probabilities with the
|
110
|
+
discharge on the first dimension.
|
111
|
+
|
112
|
+
Returns
|
113
|
+
-------
|
114
|
+
blokondkans : np.ndarray
|
115
|
+
Exceedance probabilities of the discharge per duration (basisduur).
|
116
|
+
"""
|
117
|
+
# Input variables
|
118
|
+
statistics = self.get_statistics()
|
119
|
+
slow_stochastics = list(statistics.stochastics_slow.keys())
|
120
|
+
fp = exceedance_probability
|
121
|
+
|
122
|
+
# Result variables
|
123
|
+
intidxs = []
|
124
|
+
xs = []
|
125
|
+
xps = []
|
126
|
+
|
127
|
+
# Verzamel de interpolatieindices voor alle trage stochasten
|
128
|
+
for i, _stochastic in enumerate(slow_stochastics):
|
129
|
+
if _stochastic == "q":
|
130
|
+
xp = statistics.discharge.qpeak
|
131
|
+
x = statistics.discharge.get_wave_shape().get_wave_shapes()
|
132
|
+
tijden = statistics.discharge.get_wave_shape().time
|
133
|
+
elif _stochastic == "a":
|
134
|
+
xp = statistics.lake_level.apeak
|
135
|
+
x = statistics.lake_level.get_wave_shape().get_wave_shapes()
|
136
|
+
tijden = statistics.lake_level.get_wave_shape().time
|
137
|
+
else:
|
138
|
+
raise ValueError(
|
139
|
+
f"Eerste trage stochast is niet 'q' of 'm'/'a' (gegeven eerste trage stochast: {_stochastic})"
|
140
|
+
)
|
141
|
+
|
142
|
+
# Check if the length matches
|
143
|
+
if exceedance_probability.shape[i] != x.shape[1]:
|
144
|
+
raise ValueError(
|
145
|
+
f"The number of elements in the stochast axis ({i}) should be {x.shape[1]} ({x.shape}), but is {exceedance_probability.shape[i]} ({exceedance_probability.shape})."
|
146
|
+
)
|
147
|
+
|
148
|
+
# Bepaal de interpolatie-indices, de xp-punten rondom x waartussen wordt geïnterpoleerd
|
149
|
+
intidx = np.array(
|
150
|
+
[(xp[None, :] <= ix[:, None]).sum(1) - 1 for ix in x], dtype=np.uint16
|
151
|
+
)
|
152
|
+
intidx = np.minimum(np.maximum(intidx, 0), len(xp) - 2)
|
153
|
+
|
154
|
+
intidxs.append(intidx)
|
155
|
+
xs.append(x)
|
156
|
+
xps.append(xp)
|
157
|
+
|
158
|
+
# Bepaal de tijdsduur van het eerste en het laatste blokje uit de golfvorm
|
159
|
+
block_duration = tijden[1] - tijden[0]
|
160
|
+
eindduur = tijden[-1] - tijden[-2]
|
161
|
+
|
162
|
+
# Alloceer arrays. Het is sneller om in de loop de arrays over te schrijven dan om ze opnieuw aan te maken
|
163
|
+
ondkanstot = np.ones(exceedance_probability.shape)
|
164
|
+
blokondkans = np.zeros(exceedance_probability.shape)
|
165
|
+
ovkansen = np.zeros(exceedance_probability.shape)
|
166
|
+
|
167
|
+
nt = len(tijden)
|
168
|
+
|
169
|
+
for it in range(nt - 1):
|
170
|
+
# Interpoleer de overschrijdingskansen
|
171
|
+
if len(slow_stochastics) == 1:
|
172
|
+
# Bepaal de index van de interpolatiewaarden (afvoeren / meerpeil) voor de betreffende tijdstap
|
173
|
+
iix = intidxs[0][it]
|
174
|
+
|
175
|
+
# Bepaal de fracties van de fp waarden obv xp, die moet worden ingevuld voor f (obv x)
|
176
|
+
fracs = (x[it] - xp[iix]) / (xp[iix + 1] - xp[iix])
|
177
|
+
|
178
|
+
# Bepaal de vorm van de output array, dit is (Ntraag, Ntijd, Nderest1, Nderest2, ...)
|
179
|
+
fracshp = fracs.shape + (1,) * (fp.ndim - 1)
|
180
|
+
|
181
|
+
# Interpoleer alle overschrijdingskansen in één keer door de fracties met de resultaatwaarden (fp) te vermenigvuldigen
|
182
|
+
ovkansen[:] = (1 - fracs.reshape(fracshp)) * fp[iix] + fp[
|
183
|
+
iix + 1
|
184
|
+
] * fracs.reshape(fracshp)
|
185
|
+
|
186
|
+
elif len(slow_stochastics) == 2:
|
187
|
+
iix1 = intidxs[0][it]
|
188
|
+
iix2 = intidxs[1][it]
|
189
|
+
|
190
|
+
# Bepaal de fracties van de fp waarden obv xp, die moet worden ingevuld voor f (obv x)
|
191
|
+
fracs1 = (xs[0][it] - xps[0][iix1]) / (xps[0][iix1 + 1] - xps[0][iix1])
|
192
|
+
fracs2 = (xs[1][it] - xps[1][iix2]) / (xps[1][iix2 + 1] - xps[1][iix2])
|
193
|
+
|
194
|
+
# Bepaal de vorm van de output array, dit is (Ntraag, Ntijd, Nderest1, Nderest2, ...)
|
195
|
+
frac2shp = fracs2.shape + (1,) * (fp.ndim - 2)
|
196
|
+
|
197
|
+
# 2D interpolatie
|
198
|
+
# Merk op dat dit via een loop gaat. Dit is sneller dan in enkele array-operaties, omdat
|
199
|
+
# de arrays zo groot zijn dat fancy-indexing traag wordt
|
200
|
+
for i, (ix, ixp1) in enumerate(zip(iix1, iix1 + 1)):
|
201
|
+
# Interpoleer eerst over de eerste stochast
|
202
|
+
fy1 = (1 - fracs1[i]) * fp[ix][iix2] + fp[ixp1][iix2] * fracs1[i]
|
203
|
+
fy2 = (1 - fracs1[i]) * fp[ix][iix2 + 1] + fp[ixp1][
|
204
|
+
iix2 + 1
|
205
|
+
] * fracs1[i]
|
206
|
+
|
207
|
+
# Interpoleer de tweede stochast
|
208
|
+
ovkansen[i] = fy1 + (fy2 - fy1) * fracs2.reshape(frac2shp)
|
209
|
+
|
210
|
+
# fy1 = (1 - fracs1.reshape(frac1shp)) * fp[np.ix_(iix1, iix2 )] + fp[np.ix_(iix1+1, iix2 )] * fracs1.reshape(frac1shp)
|
211
|
+
# fy2 = (1 - fracs1.reshape(frac1shp)) * fp[np.ix_(iix1, iix2+1)] + fp[np.ix_(iix1+1, iix2+1)] * fracs1.reshape(frac1shp)
|
212
|
+
|
213
|
+
# Door het interpoleren kunnen overschrijdingskansen gecreëerd worden, die een fractie groter zijn dan 1.0
|
214
|
+
ovkansen[:] = np.minimum(ovkansen, 1.0)
|
215
|
+
|
216
|
+
# De berekende overschrijdingskansen gelden voor een blokje met de duur, die gelijk is
|
217
|
+
# aan de door de gebruiker gekozen block_duration van de wind. Voor het discretiseren van de
|
218
|
+
# golfvormen heeft de gebuiker een andere duur opgegeven. De bovenstaande overschrijdings-
|
219
|
+
# kansen worden hiervoor gecorrigeerd
|
220
|
+
if block_duration != statistics.wind_speed.block_duration_wind:
|
221
|
+
ovkansen[:] = 1.0 - (1.0 - ovkansen) ** (
|
222
|
+
block_duration / statistics.wind_speed.block_duration_wind
|
223
|
+
)
|
224
|
+
|
225
|
+
# Bereken de onderschrijdingskans voor de basisduur gebruikmakend van de overschrijdingskansen per blokje
|
226
|
+
# Factoren zijn 1
|
227
|
+
blokondkans[:] = 1.0 - ovkansen
|
228
|
+
|
229
|
+
# Eerste blok is half
|
230
|
+
if it == 0:
|
231
|
+
blokondkans[:] **= 0.5
|
232
|
+
|
233
|
+
# Neem het voorlaatste en laatste blok samen
|
234
|
+
if it == (nt - 1):
|
235
|
+
# Als de eindduur kleiner is dan een halve block_duration, dan is de factor kleiner dan 1
|
236
|
+
if eindduur < (0.5 * block_duration):
|
237
|
+
factor = ((0.5 * block_duration) + eindduur) / block_duration
|
238
|
+
blokondkans[:] **= factor
|
239
|
+
|
240
|
+
# Als de eindduur groter of even lang is als een halve block_duration
|
241
|
+
else:
|
242
|
+
# Vermenig de block_duration ook nog met het laatste blokje
|
243
|
+
factor = (eindduur - (block_duration / 2.0)) / block_duration
|
244
|
+
blokondkans[:] *= (1.0 - ovkansen[:, :]) ** factor
|
245
|
+
|
246
|
+
ondkanstot *= blokondkans
|
247
|
+
|
248
|
+
# Return
|
249
|
+
return 1 - ondkanstot
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import numpy as np
|
2
|
+
|
3
|
+
from .base_model import BaseModel
|
4
|
+
from .loading.other_systems.loading_wave_overtopping import LoadingWaveOvertopping
|
5
|
+
from .statistics.other_systems.statistics_wave_overtopping import (
|
6
|
+
StatisticsWaveOvertopping,
|
7
|
+
)
|
8
|
+
from ..location import Location
|
9
|
+
|
10
|
+
|
11
|
+
class WaveOvertopping(BaseModel):
|
12
|
+
def __init__(
|
13
|
+
self, location: Location, water_levels: np.ndarray, probability: np.ndarray
|
14
|
+
):
|
15
|
+
"""
|
16
|
+
Wave Overtopping model
|
17
|
+
"""
|
18
|
+
# Inherit
|
19
|
+
super().__init__(location.get_settings())
|
20
|
+
|
21
|
+
# Init statistics
|
22
|
+
self.statistics = StatisticsWaveOvertopping(location, water_levels, probability)
|
23
|
+
|
24
|
+
# Init loading
|
25
|
+
self.loading = LoadingWaveOvertopping(location, water_levels)
|
File without changes
|
@@ -0,0 +1,246 @@
|
|
1
|
+
import numpy as np
|
2
|
+
import os
|
3
|
+
|
4
|
+
from ctypes import CDLL, POINTER, c_char_p, c_double, c_int, c_long, byref
|
5
|
+
from numpy.ctypeslib import ndpointer
|
6
|
+
from typing import Tuple
|
7
|
+
|
8
|
+
|
9
|
+
class Foreland:
|
10
|
+
"""
|
11
|
+
This module will use the Dam and Foreland module (DaF) to transform wave conditions
|
12
|
+
based on the schematized foreshore. The DaF module can be used to transform wave conditions
|
13
|
+
over a breakwater and/or foreshore.
|
14
|
+
"""
|
15
|
+
|
16
|
+
def __init__(self, profile, log: bool = False):
|
17
|
+
# Path to the library
|
18
|
+
lib_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "lib"))
|
19
|
+
|
20
|
+
# Load the DaF library v20.1.1.692 (differ from Hydra-NL, there are some slight changes)
|
21
|
+
self.daf_library = CDLL(os.path.join(lib_path, "DynamicLib-DaF.dll"))
|
22
|
+
|
23
|
+
# Default settings
|
24
|
+
self.alpha_c = c_double(1.0)
|
25
|
+
self.fc_c = c_double(0.021)
|
26
|
+
self.ratiodepth_c = c_double(0.5)
|
27
|
+
self.minstepsize_c = c_double(1.0)
|
28
|
+
self.invalid_c = c_double(-999.99)
|
29
|
+
self.logging_c = c_int(int(log))
|
30
|
+
self.loggingfilename_c = c_char_p("dlldaf_log.txt".encode("utf-8"))
|
31
|
+
self.loggingfilenamelength_c = c_int(len(self.loggingfilename_c.value))
|
32
|
+
self.g_c = c_double(9.81)
|
33
|
+
self.rho_c = c_double(1000.0)
|
34
|
+
|
35
|
+
# Intialize dll entries
|
36
|
+
self.__initialize_dll_entries()
|
37
|
+
|
38
|
+
# Set profile
|
39
|
+
self.profile = profile
|
40
|
+
|
41
|
+
def add_profile(self, profile) -> None:
|
42
|
+
"""
|
43
|
+
Set profile
|
44
|
+
|
45
|
+
Parameters
|
46
|
+
----------
|
47
|
+
Profile : profile
|
48
|
+
A Profile object
|
49
|
+
"""
|
50
|
+
self.profile = profile
|
51
|
+
|
52
|
+
def transform_wave_conditions(
|
53
|
+
self,
|
54
|
+
water_level: np.ndarray,
|
55
|
+
significant_wave_height: np.ndarray,
|
56
|
+
peak_wave_period: np.ndarray,
|
57
|
+
wave_direction: np.ndarray,
|
58
|
+
) -> Tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray]:
|
59
|
+
"""
|
60
|
+
Transform the wave conditions for the schematized foreland
|
61
|
+
|
62
|
+
Parameters
|
63
|
+
----------
|
64
|
+
water_level : np.ndarray
|
65
|
+
Water level
|
66
|
+
significant_wave_height : np.ndarray
|
67
|
+
Significant wave height
|
68
|
+
peak_wave_period : np.ndarray
|
69
|
+
Peak wave period
|
70
|
+
wave_direction : np.ndarray
|
71
|
+
Wave direction
|
72
|
+
|
73
|
+
Returns
|
74
|
+
-------
|
75
|
+
Tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray]
|
76
|
+
Water level and transformed wave conditions (h, hs, tp, dir)
|
77
|
+
"""
|
78
|
+
# Get size and shape
|
79
|
+
shp = significant_wave_height.shape
|
80
|
+
|
81
|
+
# Determine part where wave height is larger than zero
|
82
|
+
mask = (significant_wave_height > 0.0) & (peak_wave_period > 0.0)
|
83
|
+
N = mask.sum()
|
84
|
+
|
85
|
+
# Allocate output arrays as single dimension
|
86
|
+
hm0dike = np.zeros(N, order="F")
|
87
|
+
tpdike = np.zeros(N, order="F")
|
88
|
+
refractedwaveangledike = np.zeros(N, order="F")
|
89
|
+
message = "".ljust(1000).encode("utf-8")
|
90
|
+
messagelength = c_int(1000)
|
91
|
+
n_vl = (
|
92
|
+
len(self.profile.foreland_x_coordinates)
|
93
|
+
if self.profile.foreland_x_coordinates is not None
|
94
|
+
else 1
|
95
|
+
)
|
96
|
+
x_vl = (
|
97
|
+
np.array(self.profile.foreland_x_coordinates).astype(np.float64)
|
98
|
+
if self.profile.foreland_x_coordinates is not None
|
99
|
+
else np.array([0]).astype(np.float64)
|
100
|
+
)
|
101
|
+
y_vl = (
|
102
|
+
np.array(self.profile.foreland_y_coordinates).astype(np.float64)
|
103
|
+
if self.profile.foreland_x_coordinates is not None
|
104
|
+
else np.array([-999]).astype(np.float64)
|
105
|
+
)
|
106
|
+
|
107
|
+
res = self.daf_library.C_FORTRANENTRY_RollerModel5(
|
108
|
+
byref(c_int(self.profile.breakwater_type.value)),
|
109
|
+
byref(c_double(self.profile.breakwater_level)),
|
110
|
+
byref(self.alpha_c),
|
111
|
+
byref(self.fc_c),
|
112
|
+
byref(self.invalid_c),
|
113
|
+
byref(c_int(N)),
|
114
|
+
significant_wave_height[mask].astype(np.float64),
|
115
|
+
peak_wave_period[mask].astype(np.float64),
|
116
|
+
water_level[mask].astype(np.float64),
|
117
|
+
wave_direction[mask].astype(np.float64),
|
118
|
+
byref(c_double(self.profile.dike_orientation)),
|
119
|
+
byref(c_int(n_vl)),
|
120
|
+
x_vl,
|
121
|
+
byref(self.minstepsize_c),
|
122
|
+
y_vl,
|
123
|
+
byref(self.ratiodepth_c),
|
124
|
+
byref(self.logging_c),
|
125
|
+
self.loggingfilename_c,
|
126
|
+
self.loggingfilenamelength_c,
|
127
|
+
byref(self.g_c),
|
128
|
+
byref(self.rho_c),
|
129
|
+
hm0dike,
|
130
|
+
tpdike,
|
131
|
+
refractedwaveangledike,
|
132
|
+
message,
|
133
|
+
messagelength,
|
134
|
+
)
|
135
|
+
message = message.decode("utf-8")
|
136
|
+
message = message.rstrip()
|
137
|
+
messagelength = len(message)
|
138
|
+
|
139
|
+
if res != 0:
|
140
|
+
print(message + " - Using uncorrected wave parameters.")
|
141
|
+
print(self.profile.foreland_x_coordinates)
|
142
|
+
print(self.profile.foreland_y_coordinates)
|
143
|
+
hm0dike[:] = significant_wave_height[mask].ravel()[:]
|
144
|
+
tpdike[:] = peak_wave_period[mask].ravel()[:]
|
145
|
+
refractedwaveangledike[:] = wave_direction[mask].ravel()[:]
|
146
|
+
|
147
|
+
# If not all input conditions were non-zero, put the calculated conditions on the original grid again.
|
148
|
+
if not mask.all():
|
149
|
+
# Copy original values
|
150
|
+
hm0_tmp, tp_tmp, wdir_tmp = (
|
151
|
+
significant_wave_height.copy(),
|
152
|
+
peak_wave_period.copy(),
|
153
|
+
wave_direction.copy(),
|
154
|
+
)
|
155
|
+
|
156
|
+
# Insert calculated values
|
157
|
+
hm0_tmp[mask] = hm0dike
|
158
|
+
tp_tmp[mask] = tpdike
|
159
|
+
wdir_tmp[mask] = refractedwaveangledike
|
160
|
+
conditions = (water_level, hm0_tmp, tp_tmp, wdir_tmp % 360.0)
|
161
|
+
|
162
|
+
# Else, all values, where calculated. Only reshape to input shape
|
163
|
+
else:
|
164
|
+
conditions = (
|
165
|
+
water_level,
|
166
|
+
hm0dike.reshape(shp),
|
167
|
+
tpdike.reshape(shp),
|
168
|
+
refractedwaveangledike.reshape(shp) % 360.0,
|
169
|
+
)
|
170
|
+
|
171
|
+
# Return the transformed conditions
|
172
|
+
return conditions
|
173
|
+
|
174
|
+
def __initialize_dll_entries(self) -> None:
|
175
|
+
"""
|
176
|
+
Initializes the arguments types of various functions in the dynamic library.
|
177
|
+
"""
|
178
|
+
# get entry point in dll, the function to use
|
179
|
+
arraypointer = ndpointer(dtype="double", ndim=1, flags="F_CONTIGUOUS")
|
180
|
+
|
181
|
+
# Define all the argument types
|
182
|
+
argtypes = {
|
183
|
+
"DamType": POINTER(c_int),
|
184
|
+
"DamHeight": POINTER(c_double),
|
185
|
+
"Alpha": POINTER(c_double),
|
186
|
+
"Fc": POINTER(c_double),
|
187
|
+
"Invalid": POINTER(c_double),
|
188
|
+
"DimHm0": POINTER(c_int),
|
189
|
+
"Hm0": arraypointer,
|
190
|
+
"Tp": arraypointer,
|
191
|
+
"Wlev": arraypointer,
|
192
|
+
"IncomingWaveAngle": arraypointer,
|
193
|
+
"DikeNormal": POINTER(c_double),
|
194
|
+
"DimX": POINTER(c_int),
|
195
|
+
"X": arraypointer,
|
196
|
+
"MinStepSize": POINTER(c_double),
|
197
|
+
"BottomLevel": arraypointer,
|
198
|
+
"RatioDepth": POINTER(c_double),
|
199
|
+
"Logging": POINTER(c_int),
|
200
|
+
"LoggingFileName": c_char_p,
|
201
|
+
"LoggingFileNameLength": c_int,
|
202
|
+
"Ag": POINTER(c_double),
|
203
|
+
"Rho": POINTER(c_double),
|
204
|
+
"Hm0Dike": arraypointer,
|
205
|
+
"TpDike": arraypointer,
|
206
|
+
"RefractedWaveAngleDike": arraypointer,
|
207
|
+
"Message": c_char_p,
|
208
|
+
"MessageLength": c_int,
|
209
|
+
}
|
210
|
+
|
211
|
+
# Note function definition for DAF module ROLLERMODEL5
|
212
|
+
self.daf_library.C_FORTRANENTRY_RollerModel5.restype = c_long
|
213
|
+
self.daf_library.C_FORTRANENTRY_RollerModel5.argtypes = [
|
214
|
+
argtypes[name]
|
215
|
+
for name in [
|
216
|
+
"DamType",
|
217
|
+
"DamHeight",
|
218
|
+
"Alpha",
|
219
|
+
"Fc",
|
220
|
+
"Invalid",
|
221
|
+
"DimHm0",
|
222
|
+
"Hm0",
|
223
|
+
"Tp",
|
224
|
+
"Wlev",
|
225
|
+
"IncomingWaveAngle",
|
226
|
+
"DikeNormal",
|
227
|
+
"DimX",
|
228
|
+
"X",
|
229
|
+
"MinStepSize",
|
230
|
+
"BottomLevel",
|
231
|
+
"RatioDepth",
|
232
|
+
"Logging",
|
233
|
+
"LoggingFileName",
|
234
|
+
"LoggingFileNameLength",
|
235
|
+
"Ag",
|
236
|
+
"Rho",
|
237
|
+
"Hm0Dike",
|
238
|
+
"TpDike",
|
239
|
+
"RefractedWaveAngleDike",
|
240
|
+
"Message",
|
241
|
+
"MessageLength",
|
242
|
+
]
|
243
|
+
]
|
244
|
+
|
245
|
+
# Note function definition for DAF function to obtain version number.
|
246
|
+
self.daf_library.GetVersionInfo.argtypes = [c_char_p, c_int]
|