hydromt clip#

Create a new model based on clipped region of an existing model.

If the existing model contains forcing, they will also be clipped to the new model.

Example usage:#

Example usage to clip a wflow model for a subbasin derived from point coordinates snapped to cells with upstream area >= 50 km2 hydromt clip wflow /path/to/model_root /path/to/model_destination “{‘subbasin’: [-7.24, 62.09], ‘wflow_uparea’: 50}”

Example usage basin based on ID from model_root basins map hydromt clip wflow /path/to/model_root /path/to/model_destination “{‘basin’: 1}”

Example usage basins whose outlets are inside a geometry hydromt clip wflow /path/to/model_root /path/to/model_destination “{‘outlet’: ‘geometry.geojson’}”

All available option in the clip_grid function help.

hydromt clip [OPTIONS] MODEL MODEL_ROOT MODEL_DESTINATION REGION

Options

-q, --quiet#

Decrease verbosity.

-v, --verbose#

Increase verbosity.

Arguments

MODEL#

Required argument

MODEL_ROOT#

Required argument

MODEL_DESTINATION#

Required argument

REGION#

Required argument