Skip to content

Commit

Permalink
cleaning up some print statements on zenith processing improvements f…
Browse files Browse the repository at this point in the history
…or FATES
  • Loading branch information
rgknox committed Jan 29, 2025
1 parent 2c751e9 commit 9940262
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/biogeophys/BalanceCheckMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -956,6 +956,7 @@ subroutine BalanceCheck( bounds, &

indexp = maxloc( abs(errsol(bounds%begp:bounds%endp)), 1 , mask = (errsol(bounds%begp:bounds%endp) /= spval) ) + bounds%begp -1
indexg = patch%gridcell(indexp)
indexc = patch%column(indexp)
write(iulog,*)'WARNING:: BalanceCheck, solar radiation balance error (W/m2)'
write(iulog,*)'nstep = ',nstep
write(iulog,*)'errsol = ',errsol(indexp)
Expand Down
7 changes: 1 addition & 6 deletions src/biogeophys/SurfaceAlbedoMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,6 @@ subroutine UpdateZenithAngles(bounds, surfalb_inst, nextsw_cday, declinp1)
else
coszen_col(c) = coszen_grc(g)
endif

print*,"COSZEN_COL:",c,coszen_col(c)

end do

Expand Down Expand Up @@ -481,14 +479,11 @@ subroutine SurfaceAlbedo(bounds,nc, &
fabi_sha_z => surfalb_inst%fabi_sha_z_patch & ! Output: [real(r8) (:,:) ] absorbed shaded leaf diffuse PAR (per unit lai+sai) for each canopy layer
)


print*,"PEFORMING ALBEDO"

! Apply column level zenith angles to the patch level
do fp = 1,num_nourbanp
p = filter_nourbanp(fp)
c = patch%column(p)
if(col%is_fates(p))then
if(patch%is_fates(p))then
coszen_patch(p) = spval
else
coszen_patch(p) = coszen_col(c)
Expand Down

0 comments on commit 9940262

Please sign in to comment.