Skip to content

Commit

Permalink
Update fms_diag_reduction_methods.F90
Browse files Browse the repository at this point in the history
  • Loading branch information
ganganoaa authored Jul 21, 2023
1 parent b5454c4 commit 77a66c5
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions diag_manager/fms_diag_reduction_methods.F90
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
!> \author Ganga Purja Pun
!> \email [email protected]
!! \brief Contains routines for the modern diag_manager
!! \brief Contains routines for the modern diag manager
!! These routines are meant to be used for reduction methods.
!!
!! \description

Expand Down Expand Up @@ -218,13 +219,13 @@ subroutine fms_diag_update_extremum(flag, buffer_obj, field_data, recon_bounds,
!! of the field data
integer, intent(in) :: l_start(:) !< Local starting indices for the first three dimensions
integer, intent(in) :: l_end(:) !< Local ending indices for the first three dimensions
logical, intent(in) :: is_regional
logical, intent(in) :: reduced_k_range
integer :: sample !< Index along the diurnal time axis
logical, intent(in) :: is_regional !< Flag indicating if the current PE takes part in send_data
logical, intent(in) :: reduced_k_range !< Flag indicating if the field has zbounds
integer, intent(in) :: sample !< Index along the diurnal time axis
logical, intent(in) :: mask(:,:,:,:) !< Must be out of range mask
character(len=*), intent(in) :: fieldName !< Field name for error reporting
logical :: hasDiurnalAxis !< Flag to indicate if the buffer has a diurnal axis
character(len=*), intent(inout) :: err_msg
logical, intent(in) :: hasDiurnalAxis !< Flag to indicate if the buffer has a diurnal axis
character(len=*), intent(inout), optional :: err_msg

integer :: is, js, ks !< Starting indices in the I, J, and K dimensions
integer :: ie, je, ke !< Ending indices in the I, J, and K dimensions
Expand Down Expand Up @@ -691,4 +692,4 @@ subroutine update_array_extremum(flag, field_data, buffer, mask, sample, recon_b
end select
end subroutine update_array_extremum
#endif
end module fms_diag_reduction_methods_mod
end module fms_diag_reduction_methods_mod

0 comments on commit 77a66c5

Please sign in to comment.