polaris.ocean.model.OceanIOStep.write_forcing_dataset
- OceanIOStep.write_forcing_dataset(ds, filename, config)[source]
Write a surface forcing dataset, renaming to the native model’s variable names and adding a
Timedimension for MPAS-Ocean.- Parameters:
ds (xarray.Dataset) – A dataset containing MPAS-Ocean variable names
filename (str) – The path for the NetCDF file to write
config (polaris.config.PolarisConfigParser) – Configuration for the task; forwarded to the Ocean component.