Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Minor updates

Overview

Excerpt
The SHDFILEFLAG control flag specifies the basin information file format.


Page contents:

Table of Contents

Available options

named "MESH_drainage_database.r2c", added alongside other 'word' options that are more descriptive than the legacy numeric options in newer code (for example, used for running the )parametersCLASSini (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
OptionDescriptionSupported 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
2No drainage database filer13262. 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_iniCLASS initialization r1326
netcdfNetCDF (nc) format drainage database file named "MESH_drainage_database.nc".(pending)
nc
to_mapSpecial option to generate WATFLOOD "map" outputs; requires SHDFILEFLAG to also include option 1 or r2cr1326

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
languagetext
titleMESH_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
languagetext
titleMESH_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
languagetext
titleMESH_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
languagetext
titleMESH_input_run_options.ini (excerpt)
##### Control Flags #####
----#
    1 # Number of control flags
SHDFILEFLAG            2  r2c to_map

Related pages

Content by Label
showLabelsfalse
showSpacefalse
excerptTypesimple
cqllabel in ("control-flag","= "drainage-database" ,"mesh-input","input-files") and space = "MESH"