polaris.coriolis.add_coriolis_to_dataset
- polaris.coriolis.add_coriolis_to_dataset(config: PolarisConfigParser, ds_mesh: Dataset) Dataset[source]
Add Coriolis fields to a mesh dataset based on the
typeoption in the[coriolis]config section.- Parameters:
config (polaris.config.PolarisConfigParser) – Configuration object containing the
[coriolis]section.ds_mesh (xarray.Dataset) – The horizontal mesh dataset to update.
- Returns:
xarray.Dataset – The updated dataset with
fCell,fEdge, andfVertexfields.