Changeset 835 for trunk/LMDZ.MARS/libf
- Timestamp:
- Nov 8, 2012, 7:42:44 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/physiq.F
r833 r835 621 621 c ------------------ 622 622 623 c-------------------------------------------624 c MODIF_JBM made on 12W29D5,05:29:23 PM625 c-------------------------------------------626 c WRITE(*,*) "MODIF_JBM DEBUGGING 12W29D5,05:29:23 PM"627 c WRITE(*,*) "BEFORE CALLRADITE"628 c WRITE(*,*) ">>> rice = ",rice(11,1)629 c-------------------------------------------630 631 623 CALL callradite(icount,ngrid,nlayer,nq,zday,zls,pq,albedo, 632 624 $ emis,mu0,pplev,pplay,pt,tsurf,fract,dist_sol,igout, … … 634 626 $ tauref,tau,aerosol,tauscaling,taucloudtes,rdust,rice, 635 627 $ nuice,co2ice) 636 637 c-------------------------------------------638 c MODIF_JBM made on 12W29D5,05:29:23 PM639 c-------------------------------------------640 c WRITE(*,*) "MODIF_JBM DEBUGGING 12W29D5,05:29:23 PM"641 c WRITE(*,*) "AFTER CALLRADITE"642 c WRITE(*,*) ">>> rice = ",rice(11,1)643 c-------------------------------------------644 645 628 646 629 c Outputs for basic check (middle of domain) … … 1038 1021 & rsedcloud,rhocloud) 1039 1022 1040 c-------------------------------------------1041 c MODIF_JBM made on 12W29D5,05:29:23 PM1042 c-------------------------------------------1043 c WRITE(*,*) "MODIF_JBM DEBUGGING 12W29D5,05:29:23 PM"1044 c WRITE(*,*) "AFTER WATERCLOUD"1045 c WRITE(*,*) ">>> rice = ",rice(11,1)1046 c-------------------------------------------1047 1048 1023 c Temperature variation due to latent heat release 1049 1024 if (activice) then … … 1157 1132 & tau,tauscaling) 1158 1133 1159 c-------------------------------------------1160 c MODIF_JBM made on 12W29D5,05:29:23 PM1161 c-------------------------------------------1162 c WRITE(*,*) "MODIF_JBM DEBUGGING 12W29D5,05:29:23 PM"1163 c WRITE(*,*) "AFTER CALLSEDIM"1164 c WRITE(*,*) ">>> rice = ",rice(11,1)1165 c-------------------------------------------1166 1167 1134 DO iq=1, nq 1168 1135 DO l=1,nlayer … … 1419 1386 ENDDO 1420 1387 c ******* TEST ****************************************************** 1421 c MODIF_JBM COMMENTED 1422 c ztim1 = 999 1423 c DO l=1,nlayer 1424 c DO ig=1,ngrid 1425 c if (pt(ig,l).lt.ztim1) then 1426 c ztim1 = pt(ig,l) 1427 c igmin = ig 1428 c lmin = l 1429 c end if 1430 c ENDDO 1431 c ENDDO 1432 c if(min(pt(igmin,lmin),zt(igmin,lmin)).lt.70.) then 1433 c write(*,*) 'PHYSIQ: stability WARNING :' 1434 c write(*,*) 'pt, zt Tmin = ', pt(igmin,lmin), zt(igmin,lmin), 1435 c & 'ig l =', igmin, lmin 1436 c end if 1388 ztim1 = 999 1389 DO l=1,nlayer 1390 DO ig=1,ngrid 1391 if (pt(ig,l).lt.ztim1) then 1392 ztim1 = pt(ig,l) 1393 igmin = ig 1394 lmin = l 1395 end if 1396 ENDDO 1397 ENDDO 1398 if(min(pt(igmin,lmin),zt(igmin,lmin)).lt.70.) then 1399 write(*,*) 'PHYSIQ: stability WARNING :' 1400 write(*,*) 'pt, zt Tmin = ', pt(igmin,lmin), zt(igmin,lmin), 1401 & 'ig l =', igmin, lmin 1402 end if 1437 1403 c ******************************************************************* 1438 1404 … … 1901 1867 c WRITEDIAGFI can ALSO be called from any other subroutines 1902 1868 c for any variables !! 1903 1904 1905 1906 1869 c call WRITEDIAGFI(ngrid,"emis","Surface emissivity","w.m-1",2, 1870 c & emis) 1871 c call WRITEDIAGFI(ngrid,"pplay","Pressure","Pa",3,zplay) 1872 c call WRITEDIAGFI(ngrid,"pplev","Pressure","Pa",3,zplev) 1907 1873 call WRITEDIAGFI(ngrid,"tsurf","Surface temperature","K",2, 1908 1874 & tsurf) … … 1931 1897 c call WRITEDIAGFI(ngrid,"ssurf","Surface stress","N.m-2",2, 1932 1898 c & zstress) 1933 1934 1935 1936 1899 c call WRITEDIAGFI(ngridmx,'sw_htrt','sw heat. rate', 1900 c & 'w.m-2',3,zdtsw) 1901 c call WRITEDIAGFI(ngridmx,'lw_htrt','lw heat. rate', 1902 c & 'w.m-2',3,zdtlw) 1937 1903 if (.not.activice) then 1938 1904 CALL WRITEDIAGFI(ngridmx,'tauTESap',
Note: See TracChangeset
for help on using the changeset viewer.