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
OceanModelStepfromgraph_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
restartstream and never touchesinputwhenconfig_do_restartis set (mpas_ocn_forward_mode.F), and Omega’sInitialStateis switched off withFreqUnits: 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.