hydromt_wflow.components.WflowGeomsComponent.get#

WflowGeomsComponent.get(name: str) GeoDataFrame | GeoSeries[source]#

Get geometry by name.

Parameters:

name (str) – The name of the geometry to retrieve.

Returns:

The geometry associated with the given name.

Return type:

gpd.GeoDataFrame | gpd.GeoSeries

Raises:

KeyError – If the geometry with the specified name does not exist.