Wflow

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fix syntax errors

reformat with black --fast

82 files reformatted, 63 files left unchanged, 1 file failed to reformat.

The default --safe option failed on many files, mostly due to using a mix of spaces and tabs. We should check carefully if all is handled well here.

    • -49
    • +84
    /wflow-py/Sandbox/wflow_HRU_test.py
    • -227
    • +491
    /wflow-py/Sandbox/wflow_mswat.py
    • -220
    • +494
    /wflow-py/Sandbox/wflow_musle.py
    • -102
    • +166
    /wflow-py/Sandbox/wflow_prepare_rad.py
    • -228
    • +399
    /wflow-py/Sandbox/wflow_usle.py
    • -111
    • +136
    /wflow-py/Sandbox/wflow_vegetation.py
    • -513
    • +828
    /wflow-py/Sandbox/wflow_w3.py
    • -113
    • +123
    /wflow-py/Scripts/area_in_out.py
    • -54
    • +71
    /wflow-py/Scripts/e2o-getfromwci.py
    • -89
    • +100
    /wflow-py/Scripts/mapstack.py
    • -183
    • +320
    /wflow-py/Scripts/pcr2netcdf.py
    • -71
    • +118
    /wflow-py/Scripts/read_arcinfo_files.py
    • -31
    • +45
    /wflow-py/Scripts/shptoraster.py
  1. … 67 more files in changeset.
reformat with black --fast

82 files reformatted, 63 files left unchanged, 1 file failed to reformat.

The default --safe option failed on many files, mostly due to using a mix of spaces and tabs. We should check carefully if all is handled well here.

    • -49
    • +84
    /wflow-py/Sandbox/wflow_HRU_test.py
    • -227
    • +491
    /wflow-py/Sandbox/wflow_mswat.py
    • -220
    • +494
    /wflow-py/Sandbox/wflow_musle.py
    • -102
    • +166
    /wflow-py/Sandbox/wflow_prepare_rad.py
    • -228
    • +399
    /wflow-py/Sandbox/wflow_usle.py
    • -111
    • +136
    /wflow-py/Sandbox/wflow_vegetation.py
    • -513
    • +828
    /wflow-py/Sandbox/wflow_w3.py
    • -113
    • +123
    /wflow-py/Scripts/area_in_out.py
    • -54
    • +71
    /wflow-py/Scripts/e2o-getfromwci.py
    • -89
    • +100
    /wflow-py/Scripts/mapstack.py
    • -183
    • +320
    /wflow-py/Scripts/pcr2netcdf.py
    • -71
    • +118
    /wflow-py/Scripts/read_arcinfo_files.py
    • -31
    • +45
    /wflow-py/Scripts/shptoraster.py
  1. … 67 more files in changeset.
reformat with black --safe

54 files reformatted, 9 files left unchanged, 83 files failed to reformat.

    • -9
    • +7
    /wflow-py/UnitTests/TestBMI_bmi2runner.py
    • -21
    • +24
    /wflow-py/UnitTests/TestFrameWork.py
    • -18
    • +18
    /wflow-py/UnitTests/Test_w3ra_BMI.py
    • -29
    • +33
    /wflow-py/UnitTests/Testwflow_sbm.py
    • -29
    • +33
    /wflow-py/UnitTests/Testwflow_sbm2.py
    • -5
    • +6
    /wflow-py/UnitTests/Testwflow_sbm2bmi.py
    • -30
    • +36
    /wflow-py/UnitTests/Testwflow_sbm_nc.py
    • -20
    • +18
    /wflow-py/UnitTests/Testwflow_sbm_nc2.py
    • -126
    • +149
    /wflow-py/WflowDeltashell/plotcsv.py
  1. … 39 more files in changeset.
reformat with black --safe

54 files reformatted, 9 files left unchanged, 83 files failed to reformat.

    • -9
    • +7
    /wflow-py/UnitTests/TestBMI_bmi2runner.py
    • -21
    • +24
    /wflow-py/UnitTests/TestFrameWork.py
    • -18
    • +18
    /wflow-py/UnitTests/Test_w3ra_BMI.py
    • -29
    • +33
    /wflow-py/UnitTests/Testwflow_sbm.py
    • -29
    • +33
    /wflow-py/UnitTests/Testwflow_sbm2.py
    • -5
    • +6
    /wflow-py/UnitTests/Testwflow_sbm2bmi.py
    • -30
    • +36
    /wflow-py/UnitTests/Testwflow_sbm_nc.py
    • -20
    • +18
    /wflow-py/UnitTests/Testwflow_sbm_nc2.py
    • -126
    • +149
    /wflow-py/WflowDeltashell/plotcsv.py
  1. … 39 more files in changeset.
Removed lddcreatedem (line 346), the result for Ireland was not correct (only part of the dem was burned in). This issue occurs only in Python and not in pcrcalc...

For each catchment the burned-in dems are merged (instead of dems resulting from lddcreatedem).

in master: c8044a513083fb3629d0ad85f39492954c376ec4

Removed lddcreatedem (line 346), the result for Ireland was not correct (only part of the dem was burned in). This issue occurs only in Python and not in pcrcalc...

For each catchment the burned-in dems are merged (instead of dems resulting from lddcreatedem).

in master: c8044a513083fb3629d0ad85f39492954c376ec4

Removed lddcreatedem (line 346), the result for Ireland was not correct (only part of the dem was burned in). This issue occurs only in Python and not in pcrcalc...

For each catchment the burned-in dems are merged (instead of dems resulting from lddcreatedem).

in master: c8044a513083fb3629d0ad85f39492954c376ec4

Removed lddcreatedem (line 346), the result for Ireland was not correct (only part of the dem was burned in). This issue occurs only in Python and not in pcrcalc... For each catchment the burned-in dems are merged (instead of dems resulting from lddcreatedem).

fixed bug in soil layer thickness (with multiple soil layers, the thickness of the last soil layers was not correct) added soil moisture variables for the root zone and per soil layer: - volumetric water content [m3/m3] - volumetric water content [%] - root storage

fixed bug in soil layer thickness (with multiple soil layers, the thickness of the last soil layers was not correct) added soil moisture variables for the root zone and per soil layer: - volumetric water content [m3/m3] - volumetric water content [%] - root storage

fixed bug in soil layer thickness (with multiple soil layers, the thickness of the last soil layers was not correct) added soil moisture variables for the root zone and per soil layer: - volumetric water content [m3/m3] - volumetric water content [%] - root storage

fixed bug in soil layer thickness (with multiple soil layers, the thickness of the last soil layers was not correct) added soil moisture variables for the root zone and per soil layer: - volumetric water content [m3/m3] - volumetric water content [%] - root storage

add Arnejan's manual outlet patch

add Arnejan's manual outlet patch

add Arnejan's manual outlet patch

add Arnejan's manual outlet patch

wip on using f2py snow module

copy wflow_sbm.py to wflow_sbm_f2py.py

In this copy we'll (in future commits) test out calling out into an f2py compiled extension module

    • -0
    • +2033
    /wflow-py/wflow/wflow_sbm_f2py.py
pin rasterio to 1.0a12

the latest 1.0b4 seems to break conda-forge entirely, resulting in a unusable numpy

pin rasterio to 1.0a12

the latest 1.0b4 seems to break conda-forge entirely, resulting in a unusable numpy

pin rasterio to 1.0a12

the latest 1.0b4 seems to break conda-forge entirely, resulting in a unusable numpy

pin rasterio to 1.0a12

the latest 1.0b4 seems to break conda-forge entirely, resulting in a unusable numpy

fix BMI tests

the _hr.ini never existed, so removed it

and fix a path

fix BMI tests

the _hr.ini never existed, so removed it

and fix a path

fix BMI tests

the _hr.ini never existed, so removed it

and fix a path

changed reading netcdf file bit more (mem blocks not required)

changed reading netcdf file bit more (mem blocks not required)

changed reading netcdf file bit more (mem blocks not required)

changed reading netcdf file bit more (mem blocks not required)