polaris.tasks.ocean.realistic_global.models.model_subdir

polaris.tasks.ocean.realistic_global.models.model_subdir(subdir: str, model: str) → str[source]

The directory for a model’s model-dependent steps within a family’s directory.

Parameters:
  • subdir (str) – The family’s directory, relative to the component.

  • model (str) – The ocean model, one of OCEAN_MODELS.

Returns:

str – The model’s directory, relative to the component.

Raises:

ValueError – If model is not one of OCEAN_MODELS.