Skip to content

Commit 116e42f

Browse files
committed
cleaning up code, removing print statements
1 parent 4987dcf commit 116e42f

File tree

4 files changed

+0
-35
lines changed

4 files changed

+0
-35
lines changed

CMEPS_mods/shr_flux_mod.F90

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -362,20 +362,10 @@ SUBROUTINE flux_atmOcn(logunit, nMax ,zbot ,ubot ,vbot ,thbot , &
362362
end if
363363

364364
! --- BAS
365-
! if (n==5) then
366-
write(*,*) "shr flux up2_sfc = ",up2_sfc(:)
367-
write(*,*) "shr flux vp2_sfc = ",vp2_sfc(:)
368-
! write(*,*) "ugust_out b4 = ",n,ugust_out(n)
369-
! end if
370-
371365
if (add_clubb_gusts) then
372366
vmag = sqrt(vmag**2 + up2_sfc(n) + vp2_sfc(n) )
373367
ugust_out(n) = sqrt( ugust_out(n)**2 + up2_sfc(n) + vp2_sfc(n) )
374368
end if
375-
376-
! if (n==5) then
377-
! write(*,*) "ugust_out after = ",n,ugust_out(n)
378-
! end if
379369
! --- end BAS ---
380370

381371
wind0 = max(seq_flux_atmocn_minwind, sqrt( (ubot(n)-us(n))**2 + (vbot(n)-vs(n))**2) )

src/control/camsrfexch.F90

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -520,12 +520,6 @@ subroutine cam_export(state,cam_out,pbuf)
520520
end if
521521
! --- BAS
522522

523-
! BAS
524-
write(*,*) "camsrfexch up2 zt = ",up2(:,pver)
525-
write(*,*) "camsrfexch vp2 zt = ",vp2(:,pver)
526-
! BAS
527-
528-
529523
do i=1,ncol
530524
cam_out%tbot(i) = state%t(i,pver)
531525
cam_out%thbot(i) = state%t(i,pver) * state%exner(i,pver)
@@ -536,7 +530,6 @@ subroutine cam_export(state,cam_out,pbuf)
536530
! --- BAS
537531
cam_out%up2_sfc(i) = up2(i,pver)
538532
cam_out%vp2_sfc(i) = vp2(i,pver)
539-
! write(*,*) "cam_out% = ",i,cam_out%up2_sfc(i),cam_out%vp2_sfc(i)
540533
! --- BAS
541534
cam_out%pbot(i) = state%pmid(i,pver)
542535
cam_out%psl(i) = psl(i)

src/cpl/nuopc/atm_import_export.F90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,8 +1003,6 @@ subroutine export_fields( gcomp, model_mesh, model_clock, cam_out, rc)
10031003
fldptr_pslv(g) = cam_out(c)%psl(i)
10041004
g = g + 1
10051005
end do
1006-
write(*,*) "imp exp up2_sfc = ", c, cam_out(c)%up2_sfc(:)
1007-
write(*,*) "imp exp vp2_sfc = ", c, cam_out(c)%vp2_sfc(:)
10081006
end do
10091007

10101008
! required export flux variables

src/physics/cam/clubb_intr.F90

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3991,22 +3991,6 @@ subroutine clubb_tend_cam( state, ptend_all, pbuf, hdtime, &
39913991
end do
39923992
end do
39933993

3994-
! do i =1, ncol
3995-
! if (wp2_zt_out(i,pverp)<-1.e-6_r8) then
3996-
! write(*,*) "wp2_zt_out = ",wp2_zt_out(i,pverp)
3997-
! end if
3998-
! end do
3999-
! BAS
4000-
! write(*,*) "clubb intr up2 = ",up2(:,pverp)
4001-
! write(*,*) "clubb intr vp2 = ",vp2(:,pverp)
4002-
! if (180*state%lat(1)/3.14 < 24 .and. 180*state%lat(1)/3.14 > 22 .and. 180*state%lon(1)/3.14 > 204 .and. 180*state%lon(1)/3.14 < 206 ) then
4003-
write(*,*) "clubb intr up2 zt = ",up2_zt(:,pver)
4004-
write(*,*) "clubb intr vp2 zt = ",vp2_zt(:,pver)
4005-
! end if
4006-
! BAS
4007-
4008-
write(*,*) "lat, lon = ", 180*state%lat(1)/3.14, 180*state%lon(1)/3.14
4009-
40103994
if ( edsclr_dim > 0 ) then
40113995
!$acc parallel loop gang vector collapse(3) default(present)
40123996
do ixind=1,edsclr_dim

0 commit comments

Comments
 (0)