polaris.ocean.model.OceanIOStep.write_model_dataset
- OceanIOStep.write_model_dataset(ds, filename)[source]
Write out the given dataset, mapping dimension and variable names from MPAS-Ocean to Omega names if appropriate
- Parameters:
ds (xarray.Dataset) – A dataset containing MPAS-Ocean variable names
filename (str) – The path for the NetCDF file to write