polaris.tasks.ocean.analysis.climatology_maps.get_field_groups
- polaris.tasks.ocean.analysis.climatology_maps.get_field_groups(fields)[source]
Get the field groups that cover a list of requested fields
- Parameters:
fields (list of str) – The fields to plot, using MPAS-Ocean names, as listed in the
[ocean_analysis_climatology] fieldsconfig option- Returns:
field_groups (dict) – A mapping from the name of each group that is needed to the fields of that group that were requested, in the order the groups are defined
- Raises:
ValueError – If a requested field belongs to no group