Skip to content

Commit e5f2889

Browse files
committed
Revert "adding temporary diagnostics"
This reverts commit 0d6156c.
1 parent 0d6156c commit e5f2889

File tree

2 files changed

+0
-32
lines changed

2 files changed

+0
-32
lines changed

biogeochem/FatesSoilBGCFluxMod.F90

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -673,8 +673,6 @@ subroutine FluxIntoLitterPools(csite)
673673
currentPatch => csite%oldest_patch
674674
flux_patch_loop: do while (associated(currentPatch))
675675

676-
write(*,*) 'Entering FluxIntoLitterPools for patch ', currentPatch%patchno
677-
678676
associate( &
679677
bc_out => csite%bc_out(currentPatch%patchno), &
680678
bc_in => csite%bc_in(currentPatch%patchno) &
@@ -837,12 +835,6 @@ subroutine FluxIntoLitterPools(csite)
837835
flux_all_si = sum(flux_cel_si(:) * bc_in%dz_decomp_sisl(:)) + &
838836
sum(flux_lig_si(:) * bc_in%dz_decomp_sisl(:)) + &
839837
sum(flux_lab_si(:) * bc_in%dz_decomp_sisl(:))
840-
! if (flux_all_si > 1e35_r8) then
841-
write(fates_log(), *) 'flux_all: ', flux_all_si
842-
write(fates_log(), *) 'sum cel, lig, lab: ', sum(flux_cel_si), sum(flux_lig_si), sum(flux_lab_si)
843-
write(fates_log(), *) 'sum dz: ', sum(bc_in%dz_decomp_sisl(:))
844-
! call endrun(msg=errMsg(__FILE__, __LINE__))
845-
! end if
846838

847839
end do flux_elem_loop
848840

main/FatesInterfaceTypesMod.F90

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,6 @@ subroutine CheckInterfaceVariables(this)
11151115
! Check that the rank matches
11161116
if (this%hlm_vars(i)%data_rank /= this%fates_vars(i)%data_rank) then
11171117
write(*,*) "Rank mismatch for variable: ", this%key(i)
1118-
write(*,*) "Rank: hlm, fates: ", this%hlm_vars(i)%data_rank, this%fates_vars(i)%data_rank
11191118
call endrun(msg=errMsg(__FILE__, __LINE__))
11201119
end if
11211120

@@ -1690,43 +1689,20 @@ subroutine UpdateLitterFluxes(this, dtime)
16901689
j = this%filter_litter_flux(i)
16911690

16921691
! Update the hlm variables with the fates variables
1693-
! write(fates_log(),*) 'Updating litterfluxes: key:', this%GetRegistryVariableKey(j)
16941692
call this%hlm_vars(j)%Update(this%fates_vars(j), scalar=dtime)
16951693

1696-
! Dump HLM variable
1697-
! write(fates_log(),*) 'Dumping HLM variable'
1698-
! call this%hlm_vars(j)%Dump()
1699-
! write(fates_log(),*) 'Dumping FATES variable'
1700-
! call this%fates_vars(j)%Dump()
1701-
17021694
end do
17031695

17041696
! Update the HLM variable with the total litterfall
1705-
! write(fates_log(),*) 'Updating total litterfall'
17061697
j = this%GetRegistryVariableIndex(hlm_fates_litter_carbon_total)
17071698
call this%hlm_vars(j)%Update(this%fates_vars(j))
17081699

17091700
if (hlm_parteh_mode == prt_cnp_flex_allom_hyp) then
17101701
j = this%GetRegistryVariableIndex(hlm_fates_litter_phosphorus_total)
17111702
call this%hlm_vars(j)%Update(this%fates_vars(j))
17121703

1713-
! Dump HLM variable
1714-
! write(fates_log(),*) 'Dumping HLM variable'
1715-
! call this%hlm_vars(j)%Dump()
1716-
! write(fates_log(),*) 'Dumping FATES variable'
1717-
! call this%fates_vars(j)%Dump()
1718-
17191704
j = this%GetRegistryVariableIndex(hlm_fates_litter_nitrogen_total)
17201705
call this%hlm_vars(j)%Update(this%fates_vars(j))
1721-
1722-
! Dump HLM variable
1723-
! write(fates_log(),*) 'Dumping HLM variable'
1724-
! call this%hlm_vars(j)%Dump()
1725-
! write(fates_log(),*) 'Dumping FATES variable'
1726-
! call this%fates_vars(j)%Dump()
1727-
1728-
! write(fates_log(),*) 'Finished updating litter fluxes'
1729-
17301706
end if
17311707

17321708

0 commit comments

Comments
 (0)