Changeset 3308 for LMDZ6/trunk/libf
- Timestamp:
- Apr 4, 2018, 10:57:41 AM (7 years ago)
- Location:
- LMDZ6/trunk/libf/phylmd/cosp
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/cosp/cosp_output_mod.F90
r3247 r3308 342 342 ! AI nov 2015 343 343 CALL wxios_add_vaxis("temp", LIDAR_NTEMP, LIDAR_PHASE_TEMP) 344 CALL wxios_add_vaxis("cth 16", MISR_N_CTH, MISR_CTH)344 CALL wxios_add_vaxis("cth", MISR_N_CTH, MISR_CTH) 345 345 CALL wxios_add_vaxis("dbze", DBZE_BINS, dbze_ax) 346 346 CALL wxios_add_vaxis("scatratio", SR_BINS, sratio_ax) … … 390 390 CALL histvert(cosp_nidfiles(iff),"temp","temperature","C",LIDAR_NTEMP,LIDAR_PHASE_TEMP,nverttemp(iff)) 391 391 392 CALL histvert(cosp_nidfiles(iff),"cth 16","altitude","m",MISR_N_CTH,MISR_CTH,nvertmisr(iff))392 CALL histvert(cosp_nidfiles(iff),"cth","altitude","m",MISR_N_CTH,MISR_CTH,nvertmisr(iff)) 393 393 394 394 CALL histvert(cosp_nidfiles(iff),"ReffIce","Effective_particle_size_Ice","microns",numMODISReffIceBins, reffICE_binCenters, & -
LMDZ6/trunk/libf/phylmd/cosp/cosp_output_write_mod.F90
r3291 r3308 51 51 integer :: itau_wcosp, iff 52 52 real, dimension(Npoints,PARASOL_NREFL) :: parasolcrefl, Ncref 53 54 ! Variables locals intermidiaires pour inverser les axes des champs 4D 55 ! Compatibilite avec sorties CMIP 56 real, dimension(Npoints,Nlevout,SR_BINS) :: tmp_fi4da_cfadL 57 real, dimension(Npoints,Nlevout,DBZE_BINS) :: tmp_fi4da_cfadR 58 real, dimension(Npoints,MISR_N_CTH,7) :: tmp_fi4da_misr 53 59 54 60 #ifdef CPP_XIOS … … 158 164 159 165 #ifdef CPP_XIOS 160 if (cfg%LcfadLidarsr532) CALL histwrite4d_cosp(o_cfad_lidarsr532,stlidar%cfad_sr) 166 do icl=1,SR_BINS 167 tmp_fi4da_cfadL(:,:,icl)=stlidar%cfad_sr(:,icl,:) 168 enddo 169 ! if (cfg%LcfadLidarsr532) CALL histwrite4d_cosp(o_cfad_lidarsr532,stlidar%cfad_sr) 170 if (cfg%LcfadLidarsr532) CALL histwrite4d_cosp(o_cfad_lidarsr532,tmp_fi4da_cfadL) 161 171 if (cfg%LprofSR) CALL histwrite4d_cosp(o_profSR,stlidar%profSR) !TIBO 162 172 #else … … 210 220 where(stradar%cfad_ze == R_UNDEF) stradar%cfad_ze = missing_val 211 221 #ifdef CPP_XIOS 222 do icl=1,DBZE_BINS 223 tmp_fi4da_cfadR(:,:,icl)=stradar%cfad_ze(:,icl,:) 224 enddo 212 225 if (cfg%Ldbze94) CALL histwrite4d_cosp(o_dbze94,sgradar%Ze_tot) 213 if (cfg%LcfadDbze94) CALL histwrite4d_cosp(o_cfadDbze94,stradar%cfad_ze) 226 ! if (cfg%LcfadDbze94) CALL histwrite4d_cosp(o_cfadDbze94,stradar%cfad_ze) 227 if (cfg%LcfadDbze94) CALL histwrite4d_cosp(o_cfadDbze94,tmp_fi4da_cfadR) 214 228 #else 215 229 if (cfg%Ldbze94) then … … 275 289 276 290 #ifdef CPP_XIOS 277 if (cfg%LclMISR) CALL histwrite4d_cosp(o_clMISR,misr%fq_MISR) 291 do icl=1,MISR_N_CTH 292 tmp_fi4da_misr(:,icl,:)=misr%fq_MISR(:,:,icl) 293 enddo 294 ! if (cfg%LclMISR) CALL histwrite4d_cosp(o_clMISR,misr%fq_MISR) 295 if (cfg%LclMISR) CALL histwrite4d_cosp(o_clMISR,tmp_fi4da_misr) 278 296 #else 279 297 if (cfg%LclMISR) then -
LMDZ6/trunk/libf/phylmd/cosp/phys_cosp.F90
r3247 r3308 343 343 344 344 !+++++++++++++ Open output files and define output files axis !+++++++++++++ 345 if (debut_cosp) then345 ! if (debut_cosp) then 346 346 347 347 !$OMP MASTER … … 354 354 debut_cosp=.false. 355 355 ! endif ! debut_cosp 356 else356 ! else 357 357 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 358 358 ! Call simulator … … 375 375 cfg, gbx, vgrid, sglidar, sgradar, stlidar, stradar, & 376 376 isccp, misr, modis) 377 endif !debut_cosp377 ! endif !debut_cosp 378 378 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 379 379 ! Deallocate memory in derived types
Note: See TracChangeset
for help on using the changeset viewer.