Changeset 2297 for LMDZ5/trunk/libf/phylmd
- Timestamp:
- Jun 12, 2015, 11:38:57 PM (9 years ago)
- Location:
- LMDZ5/trunk/libf/phylmd
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/cosp/cosp_output_mod.F90
r2268 r2297 80 80 by the ISCCP Simulator","K", (/ ('', i=1, 3) /)) 81 81 82 LOGICAL, SAVE :: cosp_varsdefined = .FALSE. ! ug PAS THREADPRIVATE ET C'EST NORMAL 82 LOGICAL, SAVE :: cosp_varsdefined = .FALSE. ! ug PAS THREADPRIVATE ET C'EST NORMAL 83 REAL, SAVE :: Cosp_fill_value 84 !$OMP THREADPRIVATE(Cosp_fill_value) 85 83 86 84 87 CONTAINS … … 172 175 173 176 #ifdef CPP_XIOS 177 178 ! recuperer la valeur indefine Xios 179 CALL xios_get_field_attr("clcalipso",default_value=Cosp_fill_value) 174 180 ! ug R\'eglage du calendrier xios 175 181 !Temps julian => an, mois, jour, heure … … 230 236 231 237 CALL histvert(cosp_nidfiles(iff),"column","column","count",Ncolumns,column_ax(1:Ncolumns),nvertcol(iff)) 238 239 !!! Valeur indefinie en cas IOIPSL 240 Cosp_fill_value=0. 241 232 242 #endif 233 243 -
LMDZ5/trunk/libf/phylmd/cosp/cosp_output_write_mod.F90
r2268 r2297 92 92 do ip = 1,Npoints 93 93 if(stlidar%lidarcld(ip,k).eq.R_UNDEF)then 94 stlidar%lidarcld(ip,k)= 0.94 stlidar%lidarcld(ip,k)=Cosp_fill_value 95 95 endif 96 96 enddo … … 99 99 do ip = 1,Npoints 100 100 if(stlidar%cfad_sr(ip,ii,k).eq.R_UNDEF)then 101 stlidar%cfad_sr(ip,ii,k)= 0.101 stlidar%cfad_sr(ip,ii,k)=Cosp_fill_value 102 102 endif 103 103 enddo … … 108 108 do k = 1,Nlevlmdz 109 109 if(sglidar%beta_mol(ip,k).eq.R_UNDEF)then 110 sglidar%beta_mol(ip,k)= 0.110 sglidar%beta_mol(ip,k)=Cosp_fill_value 111 111 endif 112 112 113 113 do ii= 1,Ncolumns 114 114 if(sglidar%beta_tot(ip,ii,k).eq.R_UNDEF)then 115 sglidar%beta_tot(ip,ii,k)= 0.115 sglidar%beta_tot(ip,ii,k)=Cosp_fill_value 116 116 endif 117 117 enddo … … 123 123 do ip = 1,Npoints 124 124 if(stlidar%cldlayer(ip,k).eq.R_UNDEF)then 125 stlidar%cldlayer(ip,k)= 0.125 stlidar%cldlayer(ip,k)=Cosp_fill_value 126 126 endif 127 127 enddo … … 167 167 do ip = 1,Npoints 168 168 if(isccp%totalcldarea(ip).eq.-1.E+30)then 169 isccp%totalcldarea(ip)= 0.169 isccp%totalcldarea(ip)=Cosp_fill_value 170 170 endif 171 171 if(isccp%meanptop(ip).eq.-1.E+30)then 172 isccp%meanptop(ip)= 0.172 isccp%meanptop(ip)=Cosp_fill_value 173 173 endif 174 174 if(isccp%meantaucld(ip).eq.-1.E+30)then 175 isccp%meantaucld(ip)= 0.175 isccp%meantaucld(ip)=Cosp_fill_value 176 176 endif 177 177 if(isccp%meanalbedocld(ip).eq.-1.E+30)then 178 isccp%meanalbedocld(ip)= 0.178 isccp%meanalbedocld(ip)=Cosp_fill_value 179 179 endif 180 180 if(isccp%meantb(ip).eq.-1.E+30)then 181 isccp%meantb(ip)= 0.181 isccp%meantb(ip)=Cosp_fill_value 182 182 endif 183 183 if(isccp%meantbclr(ip).eq.-1.E+30)then 184 isccp%meantbclr(ip)= 0.184 isccp%meantbclr(ip)=Cosp_fill_value 185 185 endif 186 186 … … 188 188 do ii=1,7 189 189 if(isccp%fq_isccp(ip,ii,k).eq.-1.E+30)then 190 isccp%fq_isccp(ip,ii,k)= 0.190 isccp%fq_isccp(ip,ii,k)=Cosp_fill_value 191 191 endif 192 192 enddo … … 195 195 do ii=1,Ncolumns 196 196 if(isccp%boxtau(ip,ii).eq.-1.E+30)then 197 isccp%boxtau(ip,ii)= 0.197 isccp%boxtau(ip,ii)=Cosp_fill_value 198 198 endif 199 199 enddo … … 201 201 do ii=1,Ncolumns 202 202 if(isccp%boxptop(ip,ii).eq.-1.E+30)then 203 isccp%boxptop(ip,ii)= 0.203 isccp%boxptop(ip,ii)=Cosp_fill_value 204 204 endif 205 205 enddo -
LMDZ5/trunk/libf/phylmd/radlwsw_m.F90
r2227 r2297 1000 1000 zalbpla(i) = ZFSUP(i,klev+1)/ZFSDN(i,klev+1) 1001 1001 ENDIF 1002 zsollwdown(i)= ZFLDN(i,1) 1002 !!! 5 juin 2015 1003 !!! Correction MP bug RRTM 1004 zsollwdown(i)= -1.*ZFLDN(i,1) 1003 1005 ENDDO 1004 1006 ! print*,'OK2' -
LMDZ5/trunk/libf/phylmd/rrtm/readaerosol_optic_rrtm.F90
r2180 r2297 303 303 END DO 304 304 305 ! AI 12 juin 2015 306 ! Modif Olivier pour prendre en compte des prop optiq aero ancienne pour RRTM 2bds 307 308 IF (NSW.EQ.2) THEN 309 !--old aerosol properties 310 311 ! old aeropt_2bands for rrtm 312 CALL aeropt_2bands( & 313 pdel, m_allaer, pdtphys, rhcl, & 314 tau_aero, piz_aero, cg_aero, & 315 m_allaer_pi, flag_aerosol, & 316 pplay, t_seri, presnivs) 317 318 ! aeropt_5wv only for validation and diagnostics. 319 CALL aeropt_5wv( & 320 pdel, m_allaer, & 321 pdtphys, rhcl, aerindex, & 322 flag_aerosol, pplay, t_seri, & 323 tausum_aero, tau3d_aero, presnivs) 324 325 ELSEIF (NSW.EQ.6) THEN 326 !--new aerosol propertie 305 327 ! aeropt_6bands for rrtm 306 328 CALL aeropt_6bands_rrtm( & … … 316 338 flag_aerosol, pplay, t_seri, & 317 339 tausum_aero, tau3d_aero ) 340 341 ELSE 342 343 PRINT *,'Cas NSW non prevu pour RRTM - NSW=',NSW 344 STOP 345 346 ENDIF 318 347 319 348 ! Diagnostics calculation for CMIP5 protocol -
LMDZ5/trunk/libf/phylmd/rrtm/rrtm_rtrn1a_140gp.F90
r2150 r2297 496 496 ! Z_FACCMB2D(I_LEV-1) = Z_FACCLD1D(I_LEV-1) * Z_FACCLR2D(I_LEV) *& 497 497 ! & (1.0_JPRB - Z_CLDFRAC(I_LEV+1)) 498 if (istcldd(i_lev).ne.1 ) then498 if (istcldd(i_lev).ne.1.and.i_lev.ne.0) then 499 499 z_faccmb1d(i_lev-1) = max(0.,min(z_cldfrac(i_lev+1)-z_cldfrac(i_lev), & 500 500 z_cldfrac(i_lev-1)-z_cldfrac(i_lev)))
Note: See TracChangeset
for help on using the changeset viewer.