Excerpt |
---|
The SHDFILEFLAG control flag specifies the basin information file format. |
Page contents:
Available options
Option | Description | Supported since |
---|
1 "r2c" | Green Kenue (formerly EnSim Hydrologic) rectangular cell (r2c) format drainage database file named "MESH_drainage_database.r2c". | 1.2.02 |
r2c "r2c" format | r1326 |
2 | No drainage database file | named "MESH_drainage_database.r2c", added alongside other 'word' options that are more descriptive than the legacy numeric options in newer coder1326 | 2 | . Basin properties are preserved by the point location defined in the CLASS initialization file named "MESH_parameters_CLASS.ini" | (for example, used for running the . This mode is required to run the CLASS "point-mode" | ). | r1090 |
class_ini CLASS initialization | r1326 |
netcdf | NetCDF (nc) format drainage database file named "MESH_ | parametersdrainage_ | CLASSdatabase. | ininc" | (for example, used for running the "point-mode"), added alongside other 'word' options that are more descriptive than the legacy numeric options in newer coder1326. | (pending) |
nc |
to_map | Special option to generate WATFLOOD "map" outputs; requires SHDFILEFLAG to also include option 1 or r2c | r1326 |
Sample uses
...
Examples
SHDFILEFLAG 1
SHDFILEFLAG with option "1
" specifies that the drainage database is in the Green Kenue (formerly EnSim Hydrologic) rectangular cell (r2c) format. This is the option used and found in most MESH setups compatible with nearly all versions of the code.
Code Block |
---|
language | text |
---|
title | MESH_input_run_options.ini (excerpt) |
---|
|
##### Control Flags #####
----#
1 # Number of control flags
SHDFILEFLAG 1 |
...
SHDFILEFLAG r2c
SHDFILEFLAG with option "r2c
" is equivalent to specifying "SHDFILEFLAG 1", compatible with newer versions of MESH. In some cases, it might be preferred to use the newer 'word' options, as they are more descriptive of what the flag will do. However, 'word' options are not compatible with older versions of the MESH code.
Code Block |
---|
language | text |
---|
title | MESH_input_run_options.ini (excerpt) |
---|
|
##### Control Flags #####
----#
1 # Number of control flags
SHDFILEFLAG r2c |
...
SHDFILEFLAG 2
SHDFILEFLAG with option "2
" will disable basin processes to run MESH in a "point mode". In this case, the drainage database is not read nor used and all distributed routing modules are disabled. See also the SVS point mode example here.
Code Block |
---|
language | text |
---|
title | MESH_input_run_options.ini (excerpt) |
---|
|
##### Control Flags #####
----#
1 # Number of control flags
SHDFILEFLAG r2c 2 |
SHDFILEFLAG with option "to_map
...
"
Note |
---|
This option requires option "1 " or "r2c " to also be activated. |
If SHDFILEFLAG is configured with option "1
" or "r2c
", the option "to_map
" can be specified to read the r2c format drainage database and create a WATFLOOD map output file containing most of the attributes of that file.
Code Block |
---|
language | text |
---|
title | MESH_input_run_options.ini (excerpt) |
---|
|
##### Control Flags #####
----#
1 # Number of control flags
SHDFILEFLAG 2 r2c to_map |
Related pages
Content by Label |
---|
showLabels | false |
---|
showSpace | false |
---|
excerptType | simple |
---|
cql | label in ("control-flag","= "drainage-database" ,"mesh-input","input-files") and space = "MESH" |
---|
|