polaris.tasks.ocean.realistic_global.init.tasks.add_realistic_global_init_tasks

polaris.tasks.ocean.realistic_global.init.tasks.add_realistic_global_init_tasks(component)[source]

Add RealisticGlobalInit tasks for every supported base and unified MPAS mesh.

The mesh list matches the one used by polaris.tasks.e3sm.init.topo.cull.tasks.add_cull_topo_tasks(), so that every mesh with a culled topography also gets a corresponding realistic ocean initialization task.

The target ocean model is not fixed at registration time; it is resolved from the [ocean] model config option during component setup.

Parameters:

component (polaris.tasks.ocean.Ocean) – The ocean component to add the tasks to.