polaris.tasks.ocean.analysis.climatology.get_climatology_variables

polaris.tasks.ocean.analysis.climatology.get_climatology_variables(config)[source]

Get the variables a climatology is computed for, in MPAS-Ocean names

The list is the union of the fields requested for maps, the fields ocean heat content is derived from, the edge-normal field any requested vector components can be reconstructed from, and the vertical geometry. It is assembled from config options rather than passed in by the steps that read the climatology, so that the shared step stays neutral with respect to which tasks pulled it in.

The model’s mass-like thickness is not here, because it has no MPAS-Ocean name to translate from; it is added under its native name once the rest of the list has been mapped into the names the files use.

Parameters:

config (polaris.config.PolarisConfigParser) – The config options for the analysis

Returns:

variables (list of str) – The variables, in the order they were requested, with the derived ones appended