Page tree

MESH - A Community Hydrology - Land Surface Model


Skip to end of metadata
Go to start of metadata

The SHDFILEFLAG control flag specifies the basin information file format.

Page contents:

Available options

OptionDescriptionSupported since
1Green Kenue (formerly EnSim Hydrologic) rectangular cell (r2c) format drainage database file named "MESH_drainage_database.r2c".1.2.02
r2cr1326
2No 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_inir1326
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

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.

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.

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.

MESH_input_run_options.ini (excerpt)
##### Control Flags #####
----#
    1 # Number of control flags
SHDFILEFLAG            2

SHDFILEFLAG with option "to_map"

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.

MESH_input_run_options.ini (excerpt)
##### Control Flags #####
----#
    1 # Number of control flags
SHDFILEFLAG              r2c to_map

Related pages