-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5c5087e
commit ac596e1
Showing
28 changed files
with
4,444 additions
and
4,235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
name: glofrim | ||
name: glofrim3 | ||
|
||
channels: | ||
- conda-forge | ||
- defaults | ||
|
||
dependencies: | ||
- python=2.7 | ||
- numpy==1.14.5 | ||
- netcdf4>=1.3.1 | ||
- rasterio>=1.0 | ||
- rtree>=0.8.3 | ||
- click>=6.7 | ||
- configparser>=3.5.0 | ||
- python-dateutil>=2.2 | ||
- pytz>=2014.3 | ||
- faulthandler>=2.3 | ||
- six>=1.6.1 | ||
- pip>=9.0.3 | ||
- configparser | ||
- click>=7.0 | ||
- netcdf4>=1.4.2 | ||
- numpy | ||
- pcraster | ||
- pip>=20.0 | ||
- python>=3.7 | ||
- python-dateutil>=2.8 | ||
- pytz>=2019.3 | ||
- rasterio>=1.1 | ||
- rtree>=0.9.3 | ||
- six>=1.14 | ||
- wflow | ||
- pip: | ||
- bmi-python | ||
- git+https://github.com/openearth/glofrim.git | ||
- bmi-python>=0.2.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,29 @@ | ||
[engines] | ||
# path to model engines; only required for the non-python models used | ||
# these settings can also be set in environment.env | ||
CMF = /home/dirk/Models/cama-flood_bmi_v3.6.2/src/libcama.so | ||
DFM = /home/dirk/Models/dflowfm-1.1.201/lib/libdflowfm.so | ||
LFP = /home/dirk/repos/LISFLOOD-BMI/lisflood-bmi-v5.9/liblisflood.so | ||
|
||
[models] | ||
# alternative root dir for relative ini-file paths, by default the directory of this ini file is used; | ||
# this setting can also be set in environment.env | ||
root_dir = /home/dirk/repos/model_test_data/test_Elbe | ||
# reference to inifiles | ||
# all referenced inifiles are run during update | ||
# format: model_short_name = path/to/configuratoin_file | ||
PCR=PCR_Elbe/setup_PCR_30min_Elbe.ini | ||
DFM=DFM_Elbe/Elbe_1way_1d2dFM_400m_3200m.mdu | ||
|
||
|
||
[coupling] | ||
# timestep for exchanges [sec] | ||
dt=86400 | ||
|
||
[exchanges] | ||
# setup exchanges which are executed during the coupled update function. | ||
# Note that the user should make sure that both sides should represent a volume [m3] | ||
# format: From_model.var1*var2*multiplier@index = To_model.var*multiplier@index | ||
# the multiplier is optional | ||
# if no index is set the whole 2D domain is coupled | ||
PCR.runoff*cellArea=DFM.rain*ba*0.1@1d | ||
PCR.discharge*86400@grid_us=DFM.rain*ba*0.1@1d_us | ||
[engines] | ||
# path to model engines; only required for the non-python models used | ||
# these settings can also be set in environment.env | ||
# CMF = /home/dirk/Models/cama-flood_bmi_v3.6.2/src/libcama.so | ||
# DFM = /home/dirk/Models/dflowfm-1.1.201/lib/libdflowfm.so | ||
LFP = /home/hcwinsemius/lisflood/liblisflood.so | ||
|
||
[models] | ||
# alternative root dir for relative ini-file paths, by default the directory of this ini file is used; | ||
# this setting can also be set in environment.env | ||
root_dir = /home/hcwinsemius/git/glofrim/tests/model_test_data | ||
# reference to inifiles | ||
# all referenced inifiles are run during update | ||
# format: model_short_name = path/to/configuratoin_file | ||
# PCR=PCR_Elbe/setup_PCR_30min_Elbe.ini | ||
# DFM=DFM_Elbe/Elbe_1way_1d2dFM_400m_3200m.mdu | ||
LFP=LFP_data/LFPmodel_Elbe.par | ||
|
||
[coupling] | ||
# timestep for exchanges [sec] | ||
dt=86400 | ||
|
||
[exchanges] | ||
# setup exchanges which are executed during the coupled update function. | ||
# Note that the user should make sure that both sides should represent a volume [m3] | ||
# format: From_model.var1*var2*multiplier@index = To_model.var*multiplier@index | ||
# the multiplier is optional | ||
# if no index is set the whole 2D domain is coupled | ||
# PCR.discharge*86400@grid_us=DFM.rain*ba*0.1@1d_us |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
from pcr_bmi import PCR | ||
from cmf_bmi import CMF | ||
from dfm_bmi import DFM | ||
from wfl_bmi import WFL | ||
from lfp_bmi import LFP | ||
from glofrim_bmi import Glofrim | ||
from spatial_coupling import SpatialCoupling | ||
from grids import UCGrid, UGrid, RGrid, Network1D | ||
from glofrim.pcr_bmi import PCR | ||
from glofrim.cmf_bmi import CMF | ||
from glofrim.dfm_bmi import DFM | ||
from glofrim.wfl_bmi import WFL | ||
from glofrim.lfp_bmi import LFP | ||
from glofrim.glofrim_bmi import Glofrim | ||
from glofrim.spatial_coupling import SpatialCoupling | ||
from glofrim.grids import UCGrid, UGrid, RGrid, Network1D | ||
from glofrim import nb |
Oops, something went wrong.