hydromt build#
Build models from scratch.
Example usage:#
To build a wflow model for a subbasin using a point coordinates snapped to cells with upstream area >= 50 km2 hydromt build wflow /path/to/model_root -i /path/to/wflow_config.yml -r “{‘subbasin’: [-7.24, 62.09], ‘uparea’: 50}” -d deltares_data -d /path/to/data_catalog.yml -v
To build a sfincs model based on a bbox hydromt build sfincs /path/to/model_root -i /path/to/sfincs_config.yml -r “{‘bbox’: [4.6891,52.9750,4.9576,53.1994]}” -d /path/to/data_catalog.yml -v
hydromt build [OPTIONS] MODEL MODEL_ROOT
Options
- --opt <opt>#
Method specific keyword arguments, see the method documentation of the specific model for more information about the arguments.
- -i, --config <config>#
Path to hydroMT configuration file, for the model specific implementation.
- -r, --region <region>#
Set the region for which to build the model, e.g. {‘subbasin’: [-7.24, 62.09]}
- -d, --data <data>#
Path to local yaml data catalog file OR name of predefined data catalog.
- --dd, --deltares-data#
Flag: Shortcut to add the “deltares_data” catalog
- --fo, --force-overwrite#
Flag: If provided overwrite existing model files
- --cache#
Flag: If provided cache tiled rasterdatasets
- -v, --verbose#
Increase verbosity.
- -q, --quiet#
Decrease verbosity.
Arguments
- MODEL#
Required argument
- MODEL_ROOT#
Required argument