polaris.tasks.e3sm.init.component_inputs.names.ocean_scrip_path
- polaris.tasks.e3sm.init.component_inputs.names.ocean_scrip_path(short_name: str, creation_date: str, region: str) str[source]
Where a SCRIP description is staged beside the ocean products.
The same files are staged under
share/meshes/mpas/unified/<id>/byscrip_path(). They are in both places because developers look for them in both: with the mesh files and with the ocean files that were built from them.Under
ocn/mpas-o/theoceanin a region name says nothing – every file there is the ocean’s – so it is dropped, leaving<short>.scrip.<date>.ncfor the ocean domain and<short>.no_cavities.scrip.<date>.ncfor the one without ice-shelf cavities. Land has no copy here, having no business in an ocean directory.- Parameters:
- Returns:
str – The path, relative to
ASSEMBLED_FILES.- Raises:
ValueError – If
regionis not a region staged beside the ocean products.