The SHDFILEFLAG control flag specifies the basin information file format.
Page contents:
Available options
Option | Description | Supported since |
---|---|---|
1 | Green Kenue (formerly EnSim Hydrologic) rectangular cell (r2c) format drainage database file named "MESH_drainage_database.r2c". | 1.2.02 |
r2c | r1326 | |
2 | No drainage database file. Basin properties are preserved by the point location defined in the CLASS initialization file named "MESH_parameters_CLASS.ini". This mode is required to run the CLASS "point-mode". | r1090 |
class_ini | r1326 | |
netcdf | NetCDF (nc) format drainage database file named "MESH_drainage_database.nc". | (pending) |
nc | ||
to_map | Special option to generate WATFLOOD "map" outputs; requires SHDFILEFLAG to also include option 1 or r2c | r1326 |
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.
##### 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.
##### 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.
##### Control Flags ##### ----# 1 # Number of control flags SHDFILEFLAG 2
SHDFILEFLAG with option "to_map
"
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.
##### Control Flags ##### ----# 1 # Number of control flags SHDFILEFLAG r2c to_map
Related pages
-
SHDFILEFLAG — The SHDFILEFLAG control flag specifies the basin information file format.
-
How to define river classes (IAK) using drainage area (DA) and optional GRU filtering — This page describes how to create river classes in MESH_drainage_database.r2c using drainage area (DA) and optional GRU filtering.
-
-
How to create WATFLOOD "map" file attributes from MESH_drainage_database.r2c — This page describes how to use MESH to create a WATFLOOD "map" file from an existing MESH_drainage_database.r2c file.