hydromt_sfincs.components.geometries.SfincsCrossSections.create#

SfincsCrossSections.create(locations: str | Path | GeoDataFrame, merge: bool = True, **kwargs)[source]#

Create model cross-sections (old name: setup_observation_lines)

Adds model layers:

  • crs geom: cross-section lines

Parameters:
  • locations (str, Path, gpd.GeoDataFrame) – Path, data source name, or geopandas object for thin cross-section locations.

  • merge (bool, optional) – If True, merge the new cross-sections with the existing ones. By default True.