imod.prepare.polygonize#

imod.prepare.polygonize(da: DataArray) gpd.GeoDataFrame[source]#

Polygonize a 2D-DataArray into a GeoDataFrame of polygons.

Parameters:

da (xr.DataArray)

Returns:

polygonized

Return type:

geopandas.GeoDataFrame