polaris.ocean.model.OceanIOStep.map_from_native_model_vars
- OceanIOStep.map_from_native_model_vars(ds)[source]
If the model is Omega, rename dimensions and variables in a dataset from their Omega names to the MPAS-Ocean equivalent (appropriate for datasets that are output from the model)
- Parameters:
ds (xarray.Dataset) – A dataset containing variable names native to either ocean model
- Returns:
ds (xarray.Dataset) – The same dataset with variables named as expected in MPAS-Ocean