- Timestamp:
- Jan 30, 2017, 5:54:45 PM (8 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2728,2730-2775,2777-2785
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phylmd/phys_output_write_mod.F90
r2720 r2787 25 25 26 26 USE dimphy, ONLY: klon, klev, klevp1 27 USE infotrac , ONLY: nbtr27 USE infotrac_phy, ONLY: nbtr 28 28 USE mod_phys_lmdz_para, ONLY: is_north_pole_phy,is_south_pole_phy 29 29 USE mod_grid_phy_lmdz, ONLY : nbp_lon, nbp_lat … … 115 115 o_swsrfcs_nat, o_swsrfcf_ant, & 116 116 o_swtoacf_zero, o_swsrfcf_zero, & 117 o_topswai, o_solswai, o_ scdnc, &117 o_topswai, o_solswai, o_toplwai, o_sollwai, o_scdnc, & 118 118 o_cldncl, o_reffclws, o_reffclwc, o_stratomask,& 119 119 o_cldnvi, o_lcc, o_lcc3d, o_lcc3dcon, & … … 185 185 #ifdef CPP_StratAer 186 186 USE phys_output_ctrlout_mod, ONLY: & 187 o_sulf_convert, o_sulf_nucl, o_sulf_cond_evap, o_ocs_convert, & 188 o_sfluxaer, o_R2SO4, o_OCS_lifetime, o_SO2_lifetime, & 189 o_OCS_backgr_tend, o_SO2_backgr_tend, o_sulf_dep_dry, o_sulf_dep_wet, & 187 o_budg_3D_nucl, o_budg_3D_cond_evap, o_budg_3D_ocs_to_so2, o_budg_3D_so2_to_h2so4, & 188 o_budg_sed_part, o_R2SO4, o_OCS_lifetime, o_SO2_lifetime, & 189 o_budg_3D_backgr_ocs, o_budg_3D_backgr_so2, & 190 o_budg_dep_dry_h2so4, o_budg_dep_wet_h2so4, & 191 o_budg_dep_dry_part, o_budg_dep_wet_part, & 192 o_budg_emi_ocs, o_budg_emi_so2, o_budg_emi_h2so4, o_budg_emi_part, & 193 o_budg_ocs_to_so2, o_budg_so2_to_h2so4, o_budg_h2so4_to_part, & 190 194 o_surf_PM25_sulf, o_ext_strat_550, o_tau_strat_550, & 191 195 o_p_tropopause, o_vsed_aer, o_tau_strat_1020, o_ext_strat_1020, o_f_r_wet … … 284 288 #ifdef CPP_StratAer 285 289 USE phys_local_var_mod, ONLY: & 286 sulf_convert, sulf_nucl, sulf_cond_evap, ocs_convert, & 287 sfluxaer, R2SO4, OCS_lifetime, SO2_lifetime, & 288 OCS_backgr_tend, SO2_backgr_tend, sulf_dep_dry, sulf_dep_wet, & 290 budg_3D_nucl, budg_3D_cond_evap, budg_3D_ocs_to_so2, budg_3D_so2_to_h2so4, & 291 budg_sed_part, R2SO4, OCS_lifetime, SO2_lifetime, & 292 budg_3D_backgr_ocs, budg_3D_backgr_so2, & 293 budg_dep_dry_h2so4, budg_dep_wet_h2so4, & 294 budg_dep_dry_part, budg_dep_wet_part, & 295 budg_emi_ocs, budg_emi_so2, budg_emi_h2so4, budg_emi_part, & 296 budg_ocs_to_so2, budg_so2_to_h2so4, budg_h2so4_to_part, & 289 297 surf_PM25_sulf, tau_strat_550, p_tropopause, tausum_strat, & 290 298 vsed_aer, tau_strat_1020, f_r_wet … … 385 393 TYPE(xios_field) :: child 386 394 #endif 395 #ifdef CPP_StratAer 396 LOGICAL, PARAMETER :: debug_strataer=.FALSE. 397 #endif 387 398 388 399 ! On calcul le nouveau tau: … … 406 417 iiq=niadv(iq) 407 418 varname=trim(tname(iiq)) 408 WRITE (lunout,*) 'XIOS var=', nqo, iq, varname419 WRITE (lunout,*) 'XIOS var=', nqo, iq, nqtot, varname 409 420 CALL xios_add_child(group_handle, child, varname) 410 421 CALL xios_set_attr(child, name=varname, unit="kg kg-1") … … 455 466 iiq=niadv(iq) 456 467 varname='cum'//trim(tname(iiq)) 457 WRITE (lunout,*) 'XIOS var=', iq, varname468 WRITE (lunout,*) 'XIOS var=', iq, nqtot, varname 458 469 CALL xios_add_child(group_handle, child, varname) 459 470 CALL xios_set_attr(child, name=varname, unit="kg m-2") … … 468 479 ! ug la boucle qui suit ne sert qu'une fois, pour l'initialisation, sinon il n'y a toujours qu'un seul passage: 469 480 DO iinit=1, iinitend 481 ! print *,'IFF iinit=', iinit, iinitend 470 482 #ifdef CPP_XIOS 471 483 !$OMP MASTER … … 1194 1206 #ifdef CPP_StratAer 1195 1207 IF (type_trac=='coag') THEN 1196 CALL histwrite_phy(o_sulf_convert, sulf_convert)1197 CALL histwrite_phy(o_sulf_nucl, sulf_nucl)1198 CALL histwrite_phy(o_sulf_cond_evap, sulf_cond_evap)1199 CALL histwrite_phy(o_ocs_convert, ocs_convert)1200 1208 CALL histwrite_phy(o_R2SO4, R2SO4) 1201 1209 CALL histwrite_phy(o_OCS_lifetime, OCS_lifetime) 1202 1210 CALL histwrite_phy(o_SO2_lifetime, SO2_lifetime) 1203 CALL histwrite_phy(o_OCS_backgr_tend, OCS_backgr_tend) 1204 CALL histwrite_phy(o_SO2_backgr_tend, SO2_backgr_tend) 1205 CALL histwrite_phy(o_sulf_dep_dry, sulf_dep_dry) 1206 CALL histwrite_phy(o_sulf_dep_wet, sulf_dep_wet) 1211 CALL histwrite_phy(o_budg_3D_backgr_ocs, budg_3D_backgr_ocs) 1212 CALL histwrite_phy(o_budg_3D_backgr_so2, budg_3D_backgr_so2) 1213 CALL histwrite_phy(o_budg_3D_ocs_to_so2, budg_3D_ocs_to_so2) 1214 CALL histwrite_phy(o_budg_3D_so2_to_h2so4, budg_3D_so2_to_h2so4) 1215 CALL histwrite_phy(o_budg_3D_nucl, budg_3D_nucl) 1216 CALL histwrite_phy(o_budg_3D_cond_evap, budg_3D_cond_evap) 1217 CALL histwrite_phy(o_budg_dep_dry_h2so4, budg_dep_dry_h2so4) 1218 CALL histwrite_phy(o_budg_dep_wet_h2so4, budg_dep_wet_h2so4) 1219 CALL histwrite_phy(o_budg_dep_dry_part, budg_dep_dry_part) 1220 CALL histwrite_phy(o_budg_dep_wet_part, budg_dep_wet_part) 1221 CALL histwrite_phy(o_budg_emi_ocs, budg_emi_ocs) 1222 CALL histwrite_phy(o_budg_emi_so2, budg_emi_so2) 1223 CALL histwrite_phy(o_budg_emi_h2so4, budg_emi_h2so4) 1224 CALL histwrite_phy(o_budg_emi_part, budg_emi_part) 1225 CALL histwrite_phy(o_budg_ocs_to_so2, budg_ocs_to_so2) 1226 CALL histwrite_phy(o_budg_so2_to_h2so4, budg_so2_to_h2so4) 1227 CALL histwrite_phy(o_budg_h2so4_to_part, budg_h2so4_to_part) 1228 CALL histwrite_phy(o_budg_sed_part, budg_sed_part) 1207 1229 CALL histwrite_phy(o_surf_PM25_sulf, surf_PM25_sulf) 1208 1230 CALL histwrite_phy(o_p_tropopause, p_tropopause) 1209 CALL histwrite_phy(o_sfluxaer, sfluxaer)1210 1231 CALL histwrite_phy(o_vsed_aer, vsed_aer) 1211 1232 CALL histwrite_phy(o_f_r_wet, f_r_wet) … … 1264 1285 IF (ok_aie) THEN 1265 1286 CALL histwrite_phy(o_topswai, topswai_aero*swradcorr) 1287 CALL histwrite_phy(o_toplwai, toplwai_aero*swradcorr) 1266 1288 CALL histwrite_phy(o_solswai, solswai_aero*swradcorr) 1289 CALL histwrite_phy(o_sollwai, sollwai_aero*swradcorr) 1267 1290 ENDIF 1268 1291 IF (flag_aerosol.GT.0.AND.ok_cdnc) THEN … … 1726 1749 ! Champs interpolles sur des niveaux de pression 1727 1750 missing_val=missing_val_nf90 1728 DO iff=7, nfiles 1751 DO iff=7, nfiles-1 !--OB: here we deal with files 7,8,9 1729 1752 1730 1753 CALL histwrite_phy(o_tnondef,tnondef(:,:,iff-6),iff)
Note: See TracChangeset
for help on using the changeset viewer.