- Timestamp:
- Jul 24, 2024, 2:54:37 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmd/add_phys_tend_mod.F90
r5112 r5116 290 290 PRINT*,'l T dT Q dQ ' 291 291 DO k = 1, klev 292 write(*,'(i3,2f14.4,2e14.2)') k,t_seri(i,k),zdt(i,k),q_seri(i,k),zdq(i,k)292 WRITE(*,'(i3,2f14.4,2e14.2)') k,t_seri(i,k),zdt(i,k),q_seri(i,k),zdq(i,k) 293 293 ENDDO 294 294 CALL print_debug_phys(i,debug_level,text) … … 304 304 DO j = 1, jqbad 305 305 i=jqadrs(j) 306 if(prt_level>=debug_level) THEN306 IF(prt_level>=debug_level) THEN 307 307 PRINT*,'WARNING : EAU POUR LE POINT i lon lat =',& 308 308 i,longitude_deg(i),latitude_deg(i),text 309 309 PRINT*,'l T dT Q dQ ' 310 310 DO k = 1, klev 311 write(*,'(i3,2f14.4,2e14.2)') k,t_seri(i,k),zdt(i,k),q_seri(i,k),zdq(i,k)311 WRITE(*,'(i3,2f14.4,2e14.2)') k,t_seri(i,k),zdt(i,k),q_seri(i,k),zdq(i,k) 312 312 ENDDO 313 313 ENDIF … … 367 367 jbad = jbad + 1 368 368 jadrs(jbad) = i 369 ! if(prt_level.ge.debug_level) THEN369 ! IF(prt_level.ge.debug_level) THEN 370 370 ! PRINT*,'cas2 i k t_seri zdt',i,k,t_seri(i,k),zdt(i,k) 371 371 ! endif … … 375 375 jqadrs(jqbad) = i 376 376 kqadrs(jqbad) = k 377 ! if(prt_level.ge.debug_level) THEN377 ! IF(prt_level.ge.debug_level) THEN 378 378 ! PRINT*,'cas2 i k q_seri zdq',i,k,q_seri(i,k),zdq(i,k) 379 379 ! endif … … 385 385 i=jadrs(j) 386 386 k=kadrs(j) 387 if(prt_level>=debug_level) THEN387 IF(prt_level>=debug_level) THEN 388 388 PRINT*,'PLANTAGE2 POUR LE POINT i itap lon lat txt jbad zdt t',& 389 389 i,itap,longitude_deg(i),latitude_deg(i),text,jbad, & 390 390 zdt(i,k),t_seri(i,k)-zdt(i,k) 391 !!! if(prt_level.ge.10.and.itap.GE.229.and.i.EQ.3027) THEN391 !!! IF(prt_level.ge.10.and.itap.GE.229.and.i.EQ.3027) THEN 392 392 PRINT*,'l T dT Q dQ ' 393 393 DO k = 1, klev 394 write(*,'(i3,2f14.4,2e14.2)') k,t_seri(i,k),zdt(i,k),q_seri(i,k),zdq(i,k)394 WRITE(*,'(i3,2f14.4,2e14.2)') k,t_seri(i,k),zdt(i,k),q_seri(i,k),zdq(i,k) 395 395 ENDDO 396 396 CALL print_debug_phys(i,debug_level,text) … … 407 407 i,itap,longitude_deg(i),latitude_deg(i),text,jqbad,& 408 408 zdq(i,k), q_seri(i,k)-zdq(i,k), zdql(i,k), ql_seri(i,k)-zdql(i,k) 409 !!! if(prt_level.ge.10.and.itap.GE.229.and.i.EQ.3027) THEN409 !!! IF(prt_level.ge.10.and.itap.GE.229.and.i.EQ.3027) THEN 410 410 PRINT*,'l T dT Q dQ ' 411 411 DO k = 1, klev 412 write(*,'(i3,2f14.4,2e14.2)') k,t_seri(i,k),zdt(i,k),q_seri(i,k),zdq(i,k)412 WRITE(*,'(i3,2f14.4,2e14.2)') k,t_seri(i,k),zdt(i,k),q_seri(i,k),zdq(i,k) 413 413 ENDDO 414 414 CALL print_debug_phys(i,debug_level,text) … … 801 801 802 802 IF (prt_level >= 3) THEN 803 write(*,9010) text,status," itap:",itap,"enerbilERROR: Q", bilq_error," H", bilh_error803 WRITE(*,9010) text,status," itap:",itap,"enerbilERROR: Q", bilq_error," H", bilh_error 804 804 9010 format (1x,A8,2x,A12,A6,I4,A18,E15.6,A5,E15.6) 805 805 ENDIF 806 806 IF (prt_level >= 3) THEN 807 write(*,9000) text,"enerbil: Q,H,KE budget", d_qt_col(1), d_h_col(1),d_ek_col(1)807 WRITE(*,9000) text,"enerbil: Q,H,KE budget", d_qt_col(1), d_h_col(1),d_ek_col(1) 808 808 ENDIF 809 809 IF (prt_level >= 5) THEN 810 write(*,9000) text,"enerbil at boundaries: Q, H",bilq_bnd, bilh_bnd811 write(*,9000) text,"enerbil: water budget",d_qt_col(1),d_qw_col(1),d_ql_col(1),d_qs_col(1), d_qbs_col(1)812 write(*,9000) text,"enerbil: enthalpy budget",d_h_col(1),d_h_dair_col(1),d_h_qw_col(1),d_h_ql_col(1),d_h_qs_col(1),d_h_qbs_col(1)810 WRITE(*,9000) text,"enerbil at boundaries: Q, H",bilq_bnd, bilh_bnd 811 WRITE(*,9000) text,"enerbil: water budget",d_qt_col(1),d_qw_col(1),d_ql_col(1),d_qs_col(1), d_qbs_col(1) 812 WRITE(*,9000) text,"enerbil: enthalpy budget",d_h_col(1),d_h_dair_col(1),d_h_qw_col(1),d_h_ql_col(1),d_h_qs_col(1),d_h_qbs_col(1) 813 813 ENDIF 814 814 … … 816 816 CASE("vdf") specific_diag 817 817 IF (prt_level >= 5) THEN 818 write(*,9000) text,"enerbil: d_h, bilh, sens,t_seri", d_h_col(1), bilh_bnd, sens(1), t_seri(1,1)819 write(*,9000) text,"enerbil: d_h_col_vdf, f_h, diff",d_h_col_vdf, f_h_bnd, bilh_bnd-sens(1)818 WRITE(*,9000) text,"enerbil: d_h, bilh, sens,t_seri", d_h_col(1), bilh_bnd, sens(1), t_seri(1,1) 819 WRITE(*,9000) text,"enerbil: d_h_col_vdf, f_h, diff",d_h_col_vdf, f_h_bnd, bilh_bnd-sens(1) 820 820 ENDIF 821 821 CASE("lsc") specific_diag 822 822 IF (prt_level >= 5) THEN 823 write(*,9000) text,"enerbil: rain, bil_lat, bil_sens", rain_lsc(1), rlvtt * rain_lsc(1), -(rcw-rcpd)*t_seri(1,1) * rain_lsc(1)824 write(*,9000) text,"enerbil: snow, bil_lat, bil_sens", snow_lsc(1), rlstt * snow_lsc(1), -(rcs-rcpd)*t_seri(1,1) * snow_lsc(1)823 WRITE(*,9000) text,"enerbil: rain, bil_lat, bil_sens", rain_lsc(1), rlvtt * rain_lsc(1), -(rcw-rcpd)*t_seri(1,1) * rain_lsc(1) 824 WRITE(*,9000) text,"enerbil: snow, bil_lat, bil_sens", snow_lsc(1), rlstt * snow_lsc(1), -(rcs-rcpd)*t_seri(1,1) * snow_lsc(1) 825 825 ENDIF 826 826 CASE("convection") specific_diag 827 827 IF (prt_level >= 5) THEN 828 write(*,9000) text,"enerbil: rain, bil_lat, bil_sens", rain_con(1), rlvtt * rain_con(1), -(rcw-rcpd)*t_seri(1,1) * rain_con(1)829 write(*,9000) text,"enerbil: snow, bil_lat, bil_sens", snow_con(1), rlstt * snow_con(1), -(rcs-rcpd)*t_seri(1,1) * snow_con(1)828 WRITE(*,9000) text,"enerbil: rain, bil_lat, bil_sens", rain_con(1), rlvtt * rain_con(1), -(rcw-rcpd)*t_seri(1,1) * rain_con(1) 829 WRITE(*,9000) text,"enerbil: snow, bil_lat, bil_sens", snow_con(1), rlstt * snow_con(1), -(rcs-rcpd)*t_seri(1,1) * snow_con(1) 830 830 ENDIF 831 831 END SELECT specific_diag
Note: See TracChangeset
for help on using the changeset viewer.