Skip to content

Commit

Permalink
Fix for static fields to prevent extra unlimited dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
uramirez8707 committed Jan 28, 2025
1 parent 15ec0c7 commit 229e14b
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 @@ -872,6 +872,7 @@ subroutine fms_diag_do_io(this, end_time)

! Go away if there is no data to write
if (.not. diag_buff%is_there_data_to_write()) cycle
if (diag_field%is_static() .and. diag_file%get_unlim_dimension_level() > 1) cycle

if ( diag_buff%is_time_to_finish_reduction(end_time) .and. .not. do_not_write) then
! sets missing value
Expand Down

0 comments on commit 229e14b

Please sign in to comment.