polaris.ocean.model.OceanIOStep.map_to_native_model_vars

OceanIOStep.map_to_native_model_vars(ds)[source]

If the model is Omega, rename dimensions and variables in a dataset from their MPAS-Ocean names to the Omega equivalent (appropriate for input datasets like an initial condition)

Parameters:

ds (xarray.Dataset) – A dataset containing MPAS-Ocean variable names

Returns:

ds (xarray.Dataset) – The same dataset with variables renamed as appropriate for the ocean model being run