Wflow

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Update of the glacier model

zi was not bounded (> SoilThickness), number of soil layers was fixed (4)

gitignore files generated by running the tests

Ideally all tests should clean up afterwards, but until then, ignore these file types.

    • binary
    /tests/wflow_sceleton/outstate/TSoil.map
Python 3.7 doesn't work due to PCRaster

So prevent using that. Otherwise you get this:

ImportError: The 'pcraster' module was built for Python 3.6, the version used is 3.7

wflow_sbm lateral redesign

pcrglobwb small changes

run black formatter

    • -1011
    • +2131
    /wflow/wflow_sediment.py
add module to more unknown functions

some more cleanup from after #22

change code for parameter and forcing multiplication -P and -p (use getattr to really multiply the map with the factor and add warning when it is successful).

Update of wflow_sphy script and example

    • -0
    • +11
    /wflow/sphy/advanced_routing.py
    • -0
    • +18
    /wflow/sphy/dynamic_veg.py
    • -0
    • +52
    /wflow/sphy/lakes.py
    • -0
    • +29
    /wflow/sphy/reservoirs.py
Update of wflow_sphy script and example

    • binary
    /examples/wflow_ganga_sphy/instate/GlacFrac.map
    • -0
    • +1
    /examples/wflow_ganga_sphy/intbl/CapRiseMax.tbl
    • -0
    • +1
    /examples/wflow_ganga_sphy/intbl/GwDepth.tbl
    • -0
    • +1
    /examples/wflow_ganga_sphy/intbl/GwSat.tbl
    • -0
    • +1
    /examples/wflow_ganga_sphy/intbl/RootDepthFlat.tbl
    • -0
    • +1
    /examples/wflow_ganga_sphy/intbl/SubDepthFlat.tbl
    • -0
    • +1
    /examples/wflow_ganga_sphy/intbl/Tcrit.tbl
    • -0
    • +1
    /examples/wflow_ganga_sphy/intbl/alphaGw.tbl
    • -0
    • +1
    /examples/wflow_ganga_sphy/intbl/deltaGw.tbl
    • -0
    • +18
    /examples/wflow_ganga_sphy/intbl/kc.tbl
    • -0
    • +1
    /examples/wflow_ganga_sphy/intbl/kx.tbl
    • -0
    • +6
    /examples/wflow_ganga_sphy/intbl/lake_function.tbl
    • -0
    • +7
    /examples/wflow_ganga_sphy/intbl/lake_hs.tbl
    • -0
    • +6
    /examples/wflow_ganga_sphy/intbl/lake_id.tbl
  1. … 8 more files in changeset.
Add wflow_sediment doc and example

    • -0
    • +982
    /doc/wflow_sediment.rst
    • binary
    /examples/wflow_rhine_sediment/inmaps/sbm2sed.nc
    • binary
    /examples/wflow_rhine_sediment/instate/ClayLoad.map
    • binary
    /examples/wflow_rhine_sediment/instate/GravLoad.map
    • binary
    /examples/wflow_rhine_sediment/instate/LaggLoad.map
    • binary
    /examples/wflow_rhine_sediment/instate/OutClayLoad.map
    • binary
    /examples/wflow_rhine_sediment/instate/OutGravLoad.map
    • binary
    /examples/wflow_rhine_sediment/instate/OutLaggLoad.map
    • binary
    /examples/wflow_rhine_sediment/instate/OutSaggLoad.map
    • binary
    /examples/wflow_rhine_sediment/instate/OutSandLoad.map
    • binary
    /examples/wflow_rhine_sediment/instate/OutSedLoad.map
    • binary
    /examples/wflow_rhine_sediment/instate/OutSiltLoad.map
  1. … 64 more files in changeset.
Add wflow_sediment

    • -0
    • +1239
    /wflow/wflow_sediment.py
wflow_sbm: - added 'import pcraster as pcr' as last import - added simple recharge calculation (var self.Recharge)

no need to pass pcraster lib dir as argument

we can figure this out ourselves

pyinstaller handle pyproj_datadir == ""

wflow_flood argument type and div fixes

wflow_flood argument type and div fixes

wflow_lib removed pcr.

pcr should be pcraster, not pcraster._pcraster

but if you do `from pcraster.framework import *`

then pcr is pcraster._pcraster

wflow_routing added NRiverMethod for N_FloodPlain

pcr was apparently pcraster._pcraster

which gave `module 'pcraster._pcraster' has no attribute 'slope'`

wflow_routing added streamorder map for NRiverMethod

wflow_routing added NRiverMethod

changed abs() to pcr.abs() in sbm, routing

Revert "optimize imports with PyCharm"

This reverts commit f5ca8a2a5dc117ed9946ddc178d2b1017bc27050.

    • -3
    • +3
    /wflow/pcrglobwb/parameterSoilAndTopo.py
  1. … 31 more files in changeset.
Revert "explicit imports all the way"

This reverts commit c427e9b948a7fbad40a1c828b68355cb277dc5e0.

  1. … 36 more files in changeset.
Revert "rerun black formatter"

This reverts commit a9498adee6baab0a0abaa331041be8948510167b.

  1. … 16 more files in changeset.