MOM5 icon indicating copy to clipboard operation
MOM5 copied to clipboard

logical write_a_restart is used inconsistently

Open penguian opened this issue 4 years ago • 0 comments

The logical variable write_a_restart is used in many places to control whether a restart file is written, but there are three places where it is not used, and a restart file is written unconditionally. These are:

  1. subroutine ice_model_end in src/ice_sis/ice_type.F90
  2. subroutine ocean_sfc_end in src/mom5/ocean_core/ocean_sbc.F90
  3. subroutine ocean_velocity_end in src/mom5/ocean_core/ocean_velocity.F90. In this last case, write_a_restart is used incorrectly in subroutine ocean_veclocity_chksum in the same file.

penguian avatar Mar 05 '20 02:03 penguian