Skip to content

Commit db26dc0

Browse files
Tidy old logging code and comments
Co-authored-by: Kieran Ricardo <u5824685@anu.edu.au>
1 parent fc6754c commit db26dc0

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

mediator/med_merge_mod.F90

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,6 @@ subroutine med_merge_auto_field(merge_type, field_out, ungriddedUBound_out, &
335335
real(R8), pointer :: dpf2(:,:) ! intput pointers to 1d and 2d fields
336336
real(R8), pointer :: dpw1(:) ! weight pointer
337337
character(len=*),parameter :: subname=' (med_merge_mod: med_merge_auto_field)'
338-
character(len=CL) :: tmpString
339-
integer :: ungriddedUbound_out1(1)
340338
!---------------------------------------
341339

342340
rc = ESMF_SUCCESS
@@ -369,19 +367,6 @@ subroutine med_merge_auto_field(merge_type, field_out, ungriddedUBound_out, &
369367
! Get field pointer to output and input fields
370368
! Assume that input and output ungridded upper bounds are the same - this is checked in error check
371369

372-
! field_in
373-
! field_out
374-
375-
call ESMF_FieldGet(field_in, ungriddedUBound=ungriddedUbound_out1, rc=rc)
376-
write (tmpString, *) ungriddedUbound_out1(1)
377-
call ESMF_LogWrite('Input ungridded ubound: ' // trim(tmpString), ESMF_LogMsg_Info, rc=rc)
378-
379-
call ESMF_FieldGet(field_out, ungriddedUBound=ungriddedUbound_out1, rc=rc)
380-
write (tmpString, *) ungriddedUbound_out1(1)
381-
call ESMF_LogWrite('Output ungridded ubound: ' // trim(tmpString), ESMF_LogMsg_Info, rc=rc)
382-
383-
384-
385370
if (ungriddedUBound_out(1) > 0) then
386371
call ESMF_FieldGet(field_in, farrayPtr=dpf2, rc=rc)
387372
if (chkerr(rc,__LINE__,u_FILE_u)) return

0 commit comments

Comments
 (0)