polaris.tasks.ocean.realistic_global.forward.initial_condition.StepInitialCondition.add_input_files

StepInitialCondition.add_input_files(step: OceanModelStep) → None[source]

Link the mesh, vertical coordinate, initial state and surface forcing from the init steps’ work directories. The vertical-coordinate entry is dropped for MPAS-Ocean by the shared placeholder mechanism, and the graph is linked (and partitioned) by OceanModelStep from graph_target.

The initial state is linked only when the run actually reads it. A stage that continues from a restart does not: MPAS-Ocean reads the restart stream and never touches input when config_do_restart is set (mpas_ocn_forward_mode.F), and Omega’s InitialState is switched off with FreqUnits: never. The mesh, in contrast, is read either way. Linking a file a stage never opens only makes the work directory misleading about where its state came from.