iceberg output corrupted if nn_fsbc > 1
Analysis
ORCA2_ICE_PISCES runs for 124d in sette with 5d outputs. When the simulation is extended to 130d (not 125d because the length of SHORT need also to be multiple of 5d), the berg_melt output is corrupted. The reason is that the frequency of the iom_put call set in NEMO is wrong (every time step instead of every nn_fsbc).
It affects ORCA2_ICE_PISCES in main and nemo v5.0.
Fix
- Extend ORCA2_ICE_PISCES sette simulation to 1040 steps (130d)
- Add berg_melt as output
- Add in set_xmlatt in iom.F90:
f_op%timestep = nn_fsbc ; f_of%timestep = 0 ; CALL iom_set_field_attr('icbvar' , freq_op=f_op, freq_offset=f_of)