Changeset 1045
- Timestamp:
- Nov 6, 2008, 5:31:39 PM (16 years ago)
- Location:
- LMDZ4/trunk/libf/phylmd
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/phylmd/calcul_simulISCCP.h
r827 r1045 60 60 CALL haut2bas(klon, klev, dem_c, dem_cH2B) 61 61 CALL haut2bas(klon, klevp1, paprs, phalf) 62 c63 cIM lecture invtau, tautab des fichiers formattes64 c65 IF (debut) THEN66 c$OMP MASTER67 c open(99,file='tautab.bin',access='sequential',68 c $ form='unformatted',status='old')69 c read(99) tautab_omp70 c71 open(99,file='tautab.formatted', FORM='FORMATTED')72 read(99,'(f30.20)') tautab_omp73 close(99)74 c75 open(99,file='invtau.formatted',form='FORMATTED')76 read(99,'(i10)') invtau_omp77 close(99)78 c$OMP END MASTER79 c$OMP BARRIER80 tautab=tautab_omp81 invtau=invtau_omp82 c83 ENDIF !debut84 62 c 85 63 cIM: initialisation de seed -
LMDZ4/trunk/libf/phylmd/ini_histISCCP.h
r827 r1045 146 146 . "ave(X)", zcals(n),zout_isccp(n)) 147 147 c 148 CALL histdef(nid_isccp, "meantaucld"//verticaxe(n), 149 . "ISCCP mean cloud optical thickness", "1", 150 . iim, jj_nb,nhori,1,1,1,-99,32, 151 . "ave(X)", zcals(n),zout_isccp(n)) 152 c 148 153 ENDDO 149 154 c … … 168 173 CALL histdef(nid_isccp, "nsunlit"//verticaxe(n), 169 174 . "Nb of calls with sunlit ", "%", 175 . iim, jj_nb,nhori,1,1,1,-99,32, 176 . "ave(X)", zcals(n),zout_isccp(n)) 177 c 178 CALL histdef(nid_isccp, "meantaucld"//verticaxe(n), 179 . "ISCCP mean cloud optical thickness", "1", 170 180 . iim, jj_nb,nhori,1,1,1,-99,32, 171 181 . "ave(X)", zcals(n),zout_isccp(n)) -
LMDZ4/trunk/libf/phylmd/phys_output_mod.F90
r1043 r1045 194 194 integer, dimension(nfiles) , save :: flag_u10_sol = (/ 10, 4, 10, 10 /) 195 195 integer, dimension(nfiles) , save :: flag_v10_sol = (/ 10, 4, 10, 10 /) 196 integer, dimension(nfiles) , save :: flag_meantaucld = (/ 10, 5, 10, 10 /)197 196 integer, dimension(nfiles) , save :: flag_cldtau = (/ 10, 5, 10, 10 /) 198 197 integer, dimension(nfiles) , save :: flag_cldemi = (/ 10, 5, 10, 10 /) … … 614 613 CALL histdef2d(iff,flag_weakinv, "weakinv","Weak inversion", "-") 615 614 CALL histdef2d(iff,flag_dthmin,"dthmin","dTheta mini", "K/m") 616 if (ok_isccp) then617 CALL histdef2d(iff,flag_meantaucld,"meantaucld","ISCCP mean cloud optical thickness","1")618 endif619 615 CALL histdef2d(iff,flag_rh2m,"rh2m","Relative humidity at 2m", "%" ) 620 616 CALL histdef2d(iff,flag_qsat2m,"qsat2m","Saturant humidity at 2m", "%") -
LMDZ4/trunk/libf/phylmd/phys_output_write.h
r1043 r1045 664 664 CALL histwrite_phy(nid_files(iff),"dthmin",itau_w,dthmin) 665 665 ENDIF 666 667 #ifdef histISCCP668 IF(ok_isccp) THEN669 IF (MOD(itap,NINT(freq_ISCCP/dtime)).EQ.0) THEN670 IF (flag_meantaucld(iff)<=lev_files(iff)) THEN671 CALL histwrite_phy(nid_files(iff),"meantaucld",itau_w,meantaucld)672 ENDIF673 ENDIF674 ENDIF !(ok_isccp)675 #endif676 666 677 667 IF (flag_cldtau(iff)<=lev_files(iff)) THEN -
LMDZ4/trunk/libf/phylmd/physiq.F
r1043 r1045 1753 1753 c 1754 1754 IF (MOD(itap-1,lmt_pas) .EQ. 0) THEN 1755 WRITE(lunout,*)' PHYS cond julien ',julien1755 if(prt_level.ge.1) WRITE(lunout,*)' PHYS cond julien ',julien 1756 1756 CALL ozonecm( FLOAT(julien), rlat, paprs, wo) 1757 1757 ENDIF … … 2082 2082 2083 2083 cIM begin 2084 2085 2084 c print*,'physiq: cin pbase dnwd0 ftd fqd ',cin(1),pbase(1), 2085 c .dnwd0(1,1),ftd(1,1),fqd(1,1) 2086 2086 cIM end 2087 2087 cIM cf. FH … … 2697 2697 IF (ok_isccp) THEN 2698 2698 c 2699 cIM lecture invtau, tautab des fichiers formattes 2700 c 2701 IF (debut) THEN 2702 c$OMP MASTER 2703 c 2704 open(99,file='tautab.formatted', FORM='FORMATTED') 2705 read(99,'(f30.20)') tautab_omp 2706 close(99) 2707 c 2708 open(99,file='invtau.formatted',form='FORMATTED') 2709 read(99,'(i10)') invtau_omp 2710 2711 c print*,'calcul_simulISCCP invtau_omp',invtau_omp 2712 c write(6,'(a,8i10)') 'invtau_omp',(invtau_omp(i),i=1,100) 2713 2714 close(99) 2715 c$OMP END MASTER 2716 c$OMP BARRIER 2717 tautab=tautab_omp 2718 invtau=invtau_omp 2719 c 2720 ENDIF !debut 2699 2721 c 2700 2722 cIM appel simulateur toutes les NINT(freq_ISCCP/dtime) heures -
LMDZ4/trunk/libf/phylmd/write_histISCCP.h
r1038 r1045 29 29 CALL histwrite_phy(nid_isccp,"nsunlit"//verticaxe(n),itau_w, 30 30 . nbsunlit(1,:,n)) 31 c 32 CALL histwrite_phy(nid_isccp,"meantaucld"//verticaxe(n),itau_w, 33 . meantaucld(:,n)) 31 34 c 32 35 ENDDO ! n=1, napisccp … … 71 74 . itau_w,nbsunlit(1,:,n)) 72 75 c 76 CALL histwrite_phy(nid_isccp,"meantaucld"//verticaxe(n),itau_w, 77 . meantaucld(:,n)) 78 c 73 79 zx_tmp_fi2d(1:klon)=float(seed(1:klon,n)) 74 80 c
Note: See TracChangeset
for help on using the changeset viewer.