xugrid.UgridDatasetAccessor.to_dataset#
- UgridDatasetAccessor.to_dataset(optional_attributes: bool = False)[source]#
Convert this UgridDataset into a standard xarray.Dataset.
The UGRID topology information is added as standard data variables.
- Parameters:
optional_attributes (bool, default: False.) – Whether to generate the UGRID optional attributes.
- Returns:
dataset
- Return type: