xugrid.UgridDataset.from_geodataframe#

static UgridDataset.from_geodataframe(geodataframe: geopandas.GeoDataFrame)[source]#

Convert a geodataframe into the appropriate Ugrid topology and dataset.

Parameters:

geodataframe (gpd.GeoDataFrame)

Returns:

dataset

Return type:

UGridDataset