hydromt update#

Update a specific component of a model.

Set an output directory to copy the edited model to a new folder, otherwise maps are overwritten.

Example usage:#

Update (overwrite!) landuse-landcover based maps in a Wflow model: hydromt update wflow /path/to/model_root -c setup_lulcmaps –opt lulc_fn=vito -d /path/to/data_catalog.yml -v

Update Wflow model components outlined in an .yml configuration file and write the model to a directory: hydromt update wflow /path/to/model_root -o /path/to/model_out -i /path/to/wflow_config.yml -d /path/to/data_catalog.yml -v

hydromt update [OPTIONS] MODEL MODEL_ROOT

Options

-o, --model-out <model_out>#

Output model folder. Maps in MODEL_ROOT are overwritten if left empty.

-i, --config <config>#

Path to hydroMT configuration file, for the model specific implementation.

-c, --components <components>#

Model methods from configuration file to run

--opt <opt>#

Method specific keyword arguments, see the method documentation of the specific model for more information about the arguments.

-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

-q, --quiet#

Decrease verbosity.

-v, --verbose#

Increase verbosity.

Arguments

MODEL#

Required argument

MODEL_ROOT#

Required argument