Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers/{nemo_concepts,standalone}: write initial condition at initia…
…l time In CICE_InitMod::cice_init, we call ice_calendar::advance_timestep before writing the initial condition, such that the 'time' variable in the initial condition is not zero; it has a value of 1*dt (the model time step). The initial condition filename also reflects this, since 'msec' (model seconds) also has a value of 1*dt and is used in ice_history_shared::construct_filename. This leads to the initial condition filename not corresponding to the model initialization date/time but rather 1*dt later. Fix that by calling 'accum_hist' to write the initial condition _before_ calling 'advance_timestep'.
- Loading branch information