polaris.ocean.model.OceanIOStep.open_model_dataset

OceanIOStep.open_model_dataset(filename, **kwargs)[source]

Open the given dataset, mapping variable and dimension names from Omega to MPAS-Ocean names if appropriate

Parameters:
  • filename (str) – The path for the NetCDF file to open

  • kwargs – keyword arguments passed to xarray.open_dataset()

Returns:

ds (xarray.Dataset) – The dataset with variables named as expected in MPAS-Ocean