- Timestamp:
- Jun 11, 2014, 3:46:46 PM (10 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 1998,2000-2023,2025-2029,2032,2034,2036-2049,2051-2055
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phylmd/phys_output_write_mod.F90
r1999 r2056 19 19 ok_ade, ok_aie, ivap, new_aod, ok_sync, & 20 20 ptconv, read_climoz, clevSTD, ptconvth, & 21 d_t, qx, d_qx, zmasse, flag_aerosol _strat)21 d_t, qx, d_qx, zmasse, flag_aerosol, flag_aerosol_strat, ok_cdnc) 22 22 23 23 ! This subroutine does the actual writing of diagnostics that were … … 45 45 o_LWupSFC, o_LWdnSFC, o_LWupSFCclr, & 46 46 o_LWdnSFCclr, o_bils, o_bils_diss, & 47 o_bils_ec, o_bils_tke, o_bils_kinetic, &47 o_bils_ec,o_bils_ech, o_bils_tke, o_bils_kinetic, & 48 48 o_bils_latent, o_bils_enthalp, o_sens, & 49 49 o_fder, o_ffonte, o_fqcalving, o_fqfonte, & … … 217 217 218 218 USE phys_output_var_mod, only: vars_defined, snow_o, zfra_o, bils_diss, & 219 bils_ec, bils_tke, bils_kinetic, bils_latent, bils_enthalp, &219 bils_ec,bils_ech, bils_tke, bils_kinetic, bils_latent, bils_enthalp, & 220 220 itau_con, nfiles, clef_files, nid_files, zvstr_gwd_rando 221 221 USE indice_sol_mod, only: nbsrf … … 223 223 USE comgeomphy, only: airephy 224 224 USE surface_data, only: type_ocean, ok_veget, ok_snow 225 USE aero_mod, only: naero_spc 225 ! USE aero_mod, only: naero_spc 226 USE aero_mod, only: naero_tot 226 227 USE ioipsl, only: histend, histsync 227 228 USE iophy, only: set_itau_iophy, histwrite_phy … … 230 231 #ifdef CPP_XIOS 231 232 ! ug Pour les sorties XIOS 232 USE wxios, only: wxios_update_calendar, wxios_closedef 233 USE xios, ONLY: xios_update_calendar 234 USE wxios, only: wxios_closedef 233 235 #endif 234 236 USE phys_cal_mod, only : mth_len … … 259 261 REAL, DIMENSION(klon, llm) :: zmasse 260 262 LOGICAL :: flag_aerosol_strat 263 INTEGER :: flag_aerosol 264 LOGICAL :: ok_cdnc 261 265 REAL, DIMENSION(3) :: freq_moyNMC 262 266 … … 292 296 IF (vars_defined) THEN 293 297 if (prt_level >= 10) then 294 write(lunout,*)"phys_output_write: call wxios_update_calendar, itau_w=",itau_w298 write(lunout,*)"phys_output_write: call xios_update_calendar, itau_w=",itau_w 295 299 endif 296 CALL wxios_update_calendar(itau_w)300 CALL xios_update_calendar(itau_w) 297 301 END IF 298 302 !$OMP END MASTER … … 463 467 CALL histwrite_phy(o_bils_diss, bils_diss) 464 468 CALL histwrite_phy(o_bils_ec, bils_ec) 469 IF (iflag_ener_conserv>=1) THEN 470 CALL histwrite_phy(o_bils_ech, bils_ech) 471 ENDIF 465 472 CALL histwrite_phy(o_bils_tke, bils_tke) 466 473 CALL histwrite_phy(o_bils_kinetic, bils_kinetic) … … 770 777 ! OD550 per species 771 778 IF (new_aod .and. (.not. aerosol_couple)) THEN 772 IF ( ok_ade.OR.ok_aie) THEN779 IF (flag_aerosol.GT.0) THEN 773 780 CALL histwrite_phy(o_od550aer, od550aer) 774 781 CALL histwrite_phy(o_od865aer, od865aer) … … 792 799 !--STRAT AER 793 800 ENDIF 794 IF (ok_ade.OR.ok_aie.OR.flag_aerosol_strat) THEN 795 DO naero = 1, naero_spc 801 IF (flag_aerosol.GT.0.OR.flag_aerosol_strat) THEN 802 ! DO naero = 1, naero_spc 803 !--correction mini bug OB 804 DO naero = 1, naero_tot 796 805 CALL histwrite_phy(o_tausumaero(naero), & 797 806 tausum_aero(:,2,naero) ) … … 830 839 CALL histwrite_phy(o_topswai, topswai_aero) 831 840 CALL histwrite_phy(o_solswai, solswai_aero) 841 ENDIF 842 IF (flag_aerosol.GT.0.AND.ok_cdnc) THEN 832 843 CALL histwrite_phy(o_scdnc, scdnc) 833 844 CALL histwrite_phy(o_cldncl, cldncl)
Note: See TracChangeset
for help on using the changeset viewer.