polaris.tasks.ocean.realistic_global.models.get_configured_model

polaris.tasks.ocean.realistic_global.models.get_configured_model(config: PolarisConfigParser, default: str) → str[source]

The ocean model a task’s config says it is for.

During setup, the ocean component resolves [ocean] model before any task is configured. A config without that option, or with a model this workflow has no directory for, leaves the task with default, the model it was built for.

Parameters:
Returns:

str – The model to build the task’s steps for.