Changeset 183 in lmdz_wrf for trunk/WRFV3/lmdz/pbl_surface_mod.F90
- Timestamp:
- Oct 14, 2014, 7:40:28 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WRFV3/lmdz/pbl_surface_mod.F90
r1 r183 501 501 !**************************************************************************************** 502 502 503 PRINT *,' Lluis in pbl_surface: ts ',lp,ts(lp,:)504 505 503 IF (first_call) THEN 506 504 first_call=.FALSE. … … 606 604 ENDDO 607 605 ENDDO 608 PRINT *,' Lluis after rugos: ts ',lp,ts(lp,:), ' rugos: ', rugos(lp,:), &609 ' alb1: ',alb1(550,:)610 606 ! Mean calculations of albedo 611 607 ! … … 628 624 ENDDO 629 625 ENDDO 630 PRINT *,' Lluis after rugos: ts ',lp,ts(lp,:), ' rugos: ', rugos(lp,:), &631 ' alb1: ',alb1(550,:)632 626 ! We here suppose the fraction f1 of incoming radiance of visible radiance 633 627 ! as a fraction of all shortwave radiance … … 652 646 ENDDO 653 647 ENDDO 654 PRINT *,' Lluis ztsol ',lp,' : ',ztsol(lp)655 648 656 649 ! Linear distrubution on sub-surface of long- and shortwave net radiance … … 661 654 ENDDO 662 655 ENDDO 663 PRINT *,' Lluis ',lp,' sollw: ',sollw(lp,:),' solsw: ',solsw(lp,:)664 665 656 666 657 ! Downwelling longwave radiation at mean surface … … 669 660 lwdown_m(i) = sollw_m(i) + RSIGMA*ztsol(i)**4 670 661 ENDDO 671 PRINT *,' Lluis ',lp,' lwdown_m: ',lwdown_m(lp)672 673 662 !**************************************************************************************** 674 663 ! 4) Loop over different surfaces … … 683 672 ni(:) = 0 684 673 knon = 0 685 ! Lluis 686 lpt = 1 674 687 675 DO i = 1, klon 688 676 IF (pctsrf(i,nsrf) > 0.) THEN 689 677 knon = knon + 1 690 678 ni(knon) = i 691 ! Lluis692 IF (i == lp) lpt = knon693 679 ENDIF 694 680 ENDDO … … 711 697 !**************************************************************************************** 712 698 713 PRINT *,' Lluis nsrf j i rugos yts_________'714 699 DO j = 1, knon 715 700 i = ni(j) … … 728 713 ysollw(j) = sollw(i,nsrf) 729 714 yrugos(j) = rugos(i,nsrf) 730 PRINT *,nsrf,j,i,rugos(i,nsrf),yts(i)731 715 yrugoro(j) = rugoro(i) 732 716 yu1(j) = u(i,1) … … 735 719 ywindsp(j) = SQRT(u10m(i,nsrf)**2 + v10m(i,nsrf)**2 ) 736 720 END DO 737 PRINT *,' Lluis ', lpt,' yts: ',yts(lpt)738 721 739 722 DO k = 1, klev … … 757 740 END DO 758 741 END DO 759 PRINT *,' Lluis ', lpt,' ytsoil: ',ytsoil(lpt,:),' ftsoil: ',ftsoil(ni(lpt),:,nsrf)760 742 761 743 ! qsol(water height in soil) only for bucket continental model … … 766 748 END DO 767 749 ENDIF 768 PRINT *,' Lluis ',lpt,' yqsol: ',yqsol(lpt)769 750 770 751 !**************************************************************************************** … … 773 754 !**************************************************************************************** 774 755 775 PRINT *,' Lluis before clcdrag: yrugos 1:', yrugos(1),' lpt: ',yrugos(lpt), &776 ' yts: ',yts(lpt), ' yalb: ',yalb(lpt)777 756 CALL clcdrag( knon, nsrf, ypaprs, ypplay, & 778 757 yu(:,1), yv(:,1), yt(:,1), yq(:,1), & … … 788 767 ypaprs, ypplay, yu, yv, yq, yt, yts, yrugos, yqsurf, ycdragm, & 789 768 ycoefm, ycoefh, ytke) 790 PRINT *,' Lluis after coef_diff_turb lpt: ',lpt,' k ycoefm ycoefh ytke ____'791 DO k=1,klev792 PRINT *,k,ycoefm(lpt,k),ycoefh(lpt,k),ytke(lpt,k)793 END DO794 769 IF (iflag_pbl>=20.AND.iflag_pbl<30) THEN 795 770 ! In this case, coef_diff_turb is called for the Cd only … … 813 788 !**************************************************************************************** 814 789 815 PRINT *,' Lluis before climb_hq_down knon: ',lpt,' dtime: ',dtime, &816 ' AcoefH: ',AcoefH(lpt),' AcoefQ: ',AcoefQ(lpt),' BcoefH: ',BcoefH(lpt),&817 ' BcoefQ: ',BcoefQ(lpt)818 PRINT *,' Lluis before k ycoefh ypaprs ypplay ydelp yt yq ____'819 DO k=1,klev820 PRINT *,k,ycoefh(lpt,k),ypaprs(lpt,k),ypplay(lpt,k),ydelp(lpt,k), &821 yt(lpt,k),yq(lpt,k)822 END DO823 790 ! - Calculate the coefficients Ccoef_H, Ccoef_Q, Dcoef_H and Dcoef_Q 824 791 CALL climb_hq_down(knon, ycoefh, ypaprs, ypplay, & … … 830 797 AcoefU, AcoefV, BcoefU, BcoefV) 831 798 832 PRINT *,' Lluis after climb_hq_down knon: ',lpt,' ycoefh: ',ycoefh(lpt,1),&833 ' ypaprs: ',ypaprs(lpt,1),' ypplay: ',ypplay(lpt,1),' ydelp: ', &834 ydelp(lpt,1),' yt: ',yt(lpt,1),' yq: ',yq(lpt,1),' dtime: ',dtime, &835 ' AcoefH: ',AcoefH(lpt),' AcoefQ: ',AcoefQ(lpt),' BcoefH: ',BcoefH(lpt),&836 ' BcoefQ: ',BcoefQ(lpt)837 838 799 !**************************************************************************************** 839 800 ! 9) Small calculations … … 890 851 ylwdown(i)=lwdown_m(ni(i)) 891 852 END DO 892 PRINT *,' Lluis before surf_land lpt=',lpt,' yts', yts(lpt),' yq: ',yq(lpt,1)893 853 CALL surf_land(itap, dtime, date0, jour, knon, ni,& 894 854 rlon, rlat, & … … 918 878 919 879 CASE(is_oce) 920 PRINT *,' Lluis before surf_ocean lpt= ',lpt,' yts: ', yts(lpt), &921 ' pctsrf: ',pctsrf(lpt,:),' ytsurf_new: ',ytsurf_new(lpt)922 880 CALL surf_ocean(rlon, rlat, ysolsw, ysollw, yalb1, & 923 881 yrugos, ywindsp, rmu0, yfder, yts, & … … 931 889 ytsurf_new, y_dflux_t, y_dflux_q, slab_wfbils, & 932 890 y_flux_u1, y_flux_v1) 933 PRINT *,' Lluis after surf_ocean lpt= ',lpt,' yts: ', yts(lpt), &934 ' pctsrf: ',pctsrf(lpt,:),' ytsurf_new: ',ytsurf_new(lpt), 'ypct: ', &935 ypct(lpt)936 ! PRINT *,' i yts . pctsrf : ytsurf_new_________'937 ! DO i=1,knon938 ! PRINT *,' ',i,yts(i), ' . ', pctsrf(i,:),' : ',ytsurf_new(i)939 ! END DO940 891 941 892 CASE(is_sic) … … 967 918 y_d_ts(1:knon) = ytsurf_new(1:knon) - yts(1:knon) 968 919 969 PRINT *,' Lluis nsrf: ',nsrf,' lpt: ',lpt,' ytsurf_new: ',ytsurf_new(lpt), &970 ' yts: ',yts(lpt),' y_d_ts: ',y_d_ts(lpt)971 972 920 !**************************************************************************************** 973 921 ! … … 1114 1062 1115 1063 ! print*,'Dans pbl OK4' 1116 PRINT *,' Lluis before diagnostics: lp= ',lp,' ts ',lp,ts(lp,:)1117 1064 1118 1065 !**************************************************************************************** … … 1237 1184 END DO loop_nbsrf 1238 1185 1239 PRINT *,' Lluis after loop soil types: lp= ',lp,' ts ',lp,ts(lp,:)1240 1241 1186 !**************************************************************************************** 1242 1187 ! 16) Calculate the mean value over all sub-surfaces for som variables … … 1279 1224 ! print*,'OK pbl 9' 1280 1225 1281 PRINT *,' Lluis adding tendencies: lp= ',lp,' nsrf ts d_ts_______'1282 1226 DO nsrf = 1, nbsrf 1283 1227 DO i = 1, klon … … 1351 1295 !!$ ENDDO 1352 1296 !!$ ENDDO 1353 1354 PRINT *,' Lluis last ts: ',ts(lp,:)1355 1297 1356 1298 DO i = 1, klon
Note: See TracChangeset
for help on using the changeset viewer.