Skip to content

Commit

Permalink
fix to prevent extra time level
Browse files Browse the repository at this point in the history
  • Loading branch information
uramirez8707 committed Jan 22, 2025
1 parent 15ec0c7 commit 9426b61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions diag_manager/fms_diag_object.F90
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,7 @@ subroutine fms_diag_do_io(this, end_time)
model_time => end_time
else
model_time => diag_file%get_model_time()
if (model_time > this%model_end_time) cycle
endif
if (diag_file%FMS_diag_file%is_done_writing_data()) cycle

Expand Down

0 comments on commit 9426b61

Please sign in to comment.