polaris.tasks.ocean.analysis.config_sections.map_section

polaris.tasks.ocean.analysis.config_sections.map_section(field)[source]

Get the config section with the plotting options for maps of a field

Field names are the models’ own and are therefore camel case, while Polaris config sections are lower case with underscores, so the section name is not the field name pasted onto a prefix. This is the one place that knows both the prefix and the spelling rule.

Parameters:

field (str) – The field being mapped, using the name the model writes it with, such as velocityZonal

Returns:

section (str) – The name of the config section, such as ocean_analysis_map_velocity_zonal