Skip to content

Commit

Permalink
relevant for doloadstate=TRUE, sediment=TRUE, routingmode=2:
Browse files Browse the repository at this point in the history
suspended sediment storage of uninitialized entities was negative

- *.stat files are now searched in Output/, then Input/init_conds

updated variable list
  • Loading branch information
TillF committed Jun 30, 2021
1 parent a059aca commit e46ba72
Show file tree
Hide file tree
Showing 4 changed files with 115 additions and 131 deletions.
10 changes: 5 additions & 5 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
main contributors:
Andreas Güntner (2000-2002), Eva Nora Müller (2006-2009), George Mamede(2006-2009), Till Francke (2006-...), Pedro Medeiros (2007-2008), Tobias Pilz (2016), Erwin Rottler (2017)

**30.12.2020<br>
WASA-SED rev_268**
**30.6.2021<br>
WASA-SED rev_269**

Developed within the SESAM-Project:<br>
Sediment Export of Semi-Arid Catchment: Monitoring and Modelling 2005-2008<br>
SESAM II 2010-2014,<br>
2015-2020
2015-2021

Institute of Environmental Sciences and Geography, University of Potsdam, Potsdam,<br>
Deutsches Geoforschungszentrum Potsdam,<br>
Expand Down Expand Up @@ -1615,8 +1615,8 @@ This file specifies the extraterrestrial incoming shortwave radiation at the top

<a name="3-6-state-variables"></a>
### 3.6 Input/Output of state variables (optional)
The state of (some) system variables can be stored in files. This allows their later analysis and resuming runs from them. Thus, any of these files can be generated by the model, and used as an input in a successive call. These capabilities can be enabled in ```do.dat``` lines 36-37 (see [Figure 1](#figure-1)).
These files are optional. If not present, default values are used (e.g., 100 % relative saturation for the soils, 0 for most other entities). These files are expected in the WASA-SED output directory with the extension ```stat```. If present and enabled in ```do.dat```, WASA-SED loads them at model startup. It will then generate files with the extension ```stat_start```, that describe the status of the model in the beginning of the simulation (these should be identical to the ```stat``` which existed before). New ```stat``` files are written at the the end of each simulation year. .
The state of (some) system variables can be stored in files. This allows their later analysis and resuming runs from them. Thus, any of these files can be generated by the model, and used as an input in a successive model run. These capabilities can be enabled in ```do.dat``` lines 36-37 (see [Figure 1](#figure-1)).
These files are optional. If present and enabled in ```do.dat```, WASA-SED loads them at model startup. Each file is first searched for in the ```Output``` directory. If not found there, WASA-SED searches in ```Input/init_conds```. If not present in either, default values are used (e.g., 100 % relative saturation for the soils, 0 for most other entities). After startup, WASA-SED will generate files with the extension ```stat_start```, that describe the status of the model in the beginning of the simulation (these should be identical to the ```stat``` when provided). New ```stat``` files are written at the the end of each simulation year.


<a name="table-12"></a>
Expand Down
Binary file modified docs/variables.ods
Binary file not shown.
5 changes: 3 additions & 2 deletions src/General/common_h.f90
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ module common_h
INTEGER :: scenario
INTEGER :: krig
REAL :: sensfactor
integer, parameter :: max_path_length=160
CHARACTER (LEN=10) :: namet
CHARACTER (LEN=10) :: caset
CHARACTER (LEN=160) :: pfadn
CHARACTER (LEN=160) :: pfadp
CHARACTER (LEN=max_path_length) :: pfadn
CHARACTER (LEN=max_path_length) :: pfadp
INTEGER :: pfadi
INTEGER :: pfadj
INTEGER :: ncaset
Expand Down
Loading

0 comments on commit e46ba72

Please sign in to comment.