- Timestamp:
- Sep 20, 2024, 12:32:04 PM (8 weeks ago)
- Location:
- LMDZ6/branches/cirrus
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/cirrus
- Property svn:mergeinfo changed
-
LMDZ6/branches/cirrus/libf/phylmd/phys_output_write_mod.F90
r4951 r5202 65 65 o_fder, o_ffonte, o_fqcalving, o_fqfonte, o_mrroli, o_runofflic, & 66 66 o_taux, o_tauy, o_snowsrf, o_qsnow, & 67 o_snowhgt, o_toice, o_sissnow, o_runoff, & 67 ! SN runoff_diag 68 o_snowhgt, o_toice, o_sissnow, o_runoff, o_runoff_diag, & 68 69 o_albslw3, o_pourc_srf, o_fract_srf, & 69 70 o_taux_srf, o_tauy_srf, o_tsol_srf, & … … 141 142 o_zfull, o_zhalf, o_rneb, o_rnebjn, o_rnebcon, & 142 143 o_rnebls, o_rneblsvol, o_rhum, o_rhl, o_rhi, o_ozone, o_ozone_light, & 143 o_pfraclr, o_pfracld, &144 o_pfraclr, o_pfracld, o_cldfraliq, o_sigma2_icefracturb, o_mean_icefracturb, & 144 145 o_qrainlsc, o_qsnowlsc, o_dqreva, o_dqrauto, o_dqrcol, o_dqrmelt, o_dqrfreez, & 145 146 o_dqssub, o_dqsauto, o_dqsagg, o_dqsrim, o_dqsmelt, o_dqsfreez, & … … 147 148 o_dqsphy, o_dqsphy2d, o_dqbsphy, o_dqbsphy2d, o_albe_srf, o_z0m_srf, o_z0h_srf, & 148 149 o_ages_srf, o_snow_srf, o_alb1, o_alb2, o_tke, o_tke_dissip, & 149 o_tke_max, o_kz, o_kz_max, o_clwcon, &150 o_tke_max, o_kz, o_kz_max, o_clwcon, o_tke_shear, o_tke_buoy, o_tke_trans, & 150 151 o_dtdyn, o_dqdyn, o_dqdyn2d, o_dqldyn, o_dqldyn2d, & 151 152 o_dqsdyn, o_dqsdyn2d, o_dqbsdyn, o_dqbsdyn2d, o_dudyn, o_dvdyn, & … … 208 209 ! Isotopes 209 210 o_xtprecip,o_xtplul,o_xtpluc,o_xtovap,o_xtoliq,o_xtcond, & 211 o_xtrunoff_diag, & 210 212 o_xtevap,o_dxtdyn,o_dxtldyn,o_dxtcon,o_dxtlsc,o_dxteva, & 211 213 o_dxtajs,o_dxtvdf,o_dxtthe, o_dxtch4, & … … 248 250 249 251 #ifdef CPP_StratAer 252 USE infotrac_phy, ONLY: nbtr_bin 250 253 USE phys_output_ctrlout_mod, ONLY: & 251 254 o_budg_3D_nucl, o_budg_3D_cond_evap, o_budg_3D_ocs_to_so2, o_budg_3D_so2_to_h2so4, & … … 259 262 o_budg_ocs_to_so2, o_budg_so2_to_h2so4, o_budg_h2so4_to_part, & 260 263 o_surf_PM25_sulf, o_ext_strat_550, o_tau_strat_550, & 261 o_vsed_aer, o_tau_strat_1020, o_ext_strat_1020, o_f_r_wet 264 o_vsed_aer, o_tau_strat_1020, o_ext_strat_1020, o_f_r_wet, & 265 o_SAD_sulfate, o_reff_sulfate, o_sulfmmr, o_nd_mode, o_sulfmmr_mode 262 266 #endif 263 267 … … 314 318 zn2mout, t2m_min_mon, t2m_max_mon, evap, & 315 319 snowerosion, zxustartlic, zxrhoslic, zxqsaltlic, & 316 l_mixmin,l_mix, pbl_eps, &320 l_mixmin,l_mix, pbl_eps, tke_shear, tke_buoy, tke_trans, & 317 321 zu10m, zv10m, zq2m, zustar, zxqsurf, & 318 322 rain_lsc, rain_num, snow_lsc, bils, sens, fder, & 319 323 zxffonte, zxfqcalving, zxfqfonte, zxrunofflic, fluxu, & 320 324 fluxv, zxsnow, qsnow, snowhgt, to_ice, & 321 sissnow, runoff, albsol3_lic, evap_pot, & 325 ! SN runoff_diag 326 sissnow, runoff, runoff_diag, albsol3_lic, evap_pot, & 322 327 t2m, fluxt, fluxlat, fsollw, fsolsw, & 323 328 wfbils, wfevap, & … … 367 372 ql_seri, qs_seri, qbs_seri, tr_seri, qbs_seri,& 368 373 zphi, u_seri, v_seri, omega, cldfra, & 369 rneb, rnebjn, rneblsvol, zx_rh, zx_rhl, zx_rhi, & 370 pfraclr, pfracld, & 374 rneb, rnebjn, rneblsvol, & 375 zx_rh, zx_rhl, zx_rhi, & 376 pfraclr, pfracld, cldfraliq, sigma2_icefracturb, mean_icefracturb, & 371 377 qraindiag, qsnowdiag, dqreva, dqssub, & 372 378 dqrauto,dqrcol,dqrmelt,dqrfreez, & … … 382 388 d_t_lscst, d_q_lscth, d_q_lscst, plul_th, & 383 389 plul_st, d_t_vdf, d_t_diss, d_q_vdf, d_q_eva, & 384 d_t_bs , d_q_bs, d_qbs_bs, d_qbs_vdf, &390 d_t_bsss, d_q_bsss, d_qbs_bsss, d_qbs_vdf, & 385 391 zw2, fraca, zmax_th, d_q_ajsb, d_t_ec, d_u_vdf, & 386 392 d_v_vdf, d_u_oro, d_v_oro, d_t_oro, d_u_lif, & … … 395 401 d_xt_ajs, d_xt_ajsb, & 396 402 d_xt_prod_nucl,d_xt_cosmo,d_xt_decroiss, & 403 xtrunoff_diag, & 397 404 #endif 398 405 ep, epmax_diag, & ! epmax_cape … … 416 423 budg_ocs_to_so2, budg_so2_to_h2so4, budg_h2so4_to_part, & 417 424 surf_PM25_sulf, tau_strat_550, tausum_strat, & 418 vsed_aer, tau_strat_1020, f_r_wet 425 vsed_aer, tau_strat_1020, f_r_wet, & 426 SAD_sulfate, reff_sulfate, sulfmmr, nd_mode, sulfmmr_mode 419 427 #endif 420 428 … … 449 457 USE indice_sol_mod, ONLY: nbsrf 450 458 #ifdef ISO 451 USE isotopes_mod, ONLY: iso_HTO 459 USE isotopes_mod, ONLY: iso_HTO, isoName 452 460 #endif 453 461 USE geometry_mod, ONLY: cell_area, latitude_deg, longitude_deg … … 530 538 CHARACTER(LEN=maxlen) :: unt 531 539 #endif 540 541 #ifdef ISO 542 CHARACTER(LEN=maxlen) :: outiso 543 #endif 544 532 545 REAL,DIMENSION(klon,klev) :: z, dz 533 546 REAL,DIMENSION(klon) :: zrho, zt … … 1310 1323 1311 1324 ENDDO 1312 1313 1325 1326 1314 1327 IF (iflag_pbl > 1) THEN 1315 1328 zx_tmp_fi3d=0. … … 1323 1336 ENDIF 1324 1337 1325 CALL histwrite_phy(o_tke_dissip, zx_tmp_fi3d) 1338 CALL histwrite_phy(o_tke_dissip, zx_tmp_fi3d) 1339 1340 zx_tmp_fi3d=0. 1341 IF (vars_defined) THEN 1342 DO nsrf=1,nbsrf 1343 DO k=1,klev 1344 zx_tmp_fi3d(:,k)=zx_tmp_fi3d(:,k) & 1345 +pctsrf(:,nsrf)*tke_shear(:,k,nsrf) 1346 ENDDO 1347 ENDDO 1348 ENDIF 1349 1350 CALL histwrite_phy(o_tke_shear, zx_tmp_fi3d) 1351 1352 zx_tmp_fi3d=0. 1353 IF (vars_defined) THEN 1354 DO nsrf=1,nbsrf 1355 DO k=1,klev 1356 zx_tmp_fi3d(:,k)=zx_tmp_fi3d(:,k) & 1357 +pctsrf(:,nsrf)*tke_buoy(:,k,nsrf) 1358 ENDDO 1359 ENDDO 1360 ENDIF 1361 1362 CALL histwrite_phy(o_tke_buoy, zx_tmp_fi3d) 1363 1364 1365 zx_tmp_fi3d=0. 1366 IF (vars_defined) THEN 1367 DO nsrf=1,nbsrf 1368 DO k=1,klev 1369 zx_tmp_fi3d(:,k)=zx_tmp_fi3d(:,k) & 1370 +pctsrf(:,nsrf)*tke_trans(:,k,nsrf) 1371 ENDDO 1372 ENDDO 1373 ENDIF 1374 1375 CALL histwrite_phy(o_tke_trans, zx_tmp_fi3d) 1376 1326 1377 ENDIF 1327 1378 … … 1814 1865 CALL histwrite_phy(o_tau_strat_550, tausum_strat(:,1)) 1815 1866 CALL histwrite_phy(o_tau_strat_1020, tausum_strat(:,2)) 1867 CALL histwrite_phy(o_SAD_sulfate, SAD_sulfate) 1868 CALL histwrite_phy(o_reff_sulfate, reff_sulfate) 1869 CALL histwrite_phy(o_sulfmmr, sulfmmr) 1870 ! All BINs fields 1871 DO itr = 1, nbtr_bin 1872 CALL histwrite_phy(o_nd_mode(itr), nd_mode(:,:,itr)) 1873 CALL histwrite_phy(o_sulfmmr_mode(itr), sulfmmr_mode(:,:,itr)) 1874 ENDDO !--itr 1816 1875 ENDIF 1817 1876 #endif … … 2005 2064 CALL histwrite_phy(o_pfraclr, pfraclr) 2006 2065 CALL histwrite_phy(o_pfracld, pfracld) 2066 CALL histwrite_phy(o_cldfraliq, cldfraliq) 2067 CALL histwrite_phy(o_sigma2_icefracturb, sigma2_icefracturb) 2068 CALL histwrite_phy(o_mean_icefracturb, mean_icefracturb) 2007 2069 IF (ok_poprecip) THEN 2008 2070 CALL histwrite_phy(o_qrainlsc, qraindiag) … … 2306 2368 IF (vars_defined) zx_tmp_fi3d(1:klon,1:klev)=d_qbs_vdf(1:klon,1:klev)/pdtphys 2307 2369 CALL histwrite_phy(o_dqbsvdf, zx_tmp_fi3d) 2308 IF (vars_defined) zx_tmp_fi3d(1:klon,1:klev)=d_qbs_bs (1:klon,1:klev)/pdtphys2370 IF (vars_defined) zx_tmp_fi3d(1:klon,1:klev)=d_qbs_bsss(1:klon,1:klev)/pdtphys 2309 2371 CALL histwrite_phy(o_dqbsbs, zx_tmp_fi3d) 2310 IF (vars_defined) zx_tmp_fi3d(1:klon,1:klev)=d_q_bs (1:klon,1:klev)/pdtphys2372 IF (vars_defined) zx_tmp_fi3d(1:klon,1:klev)=d_q_bsss(1:klon,1:klev)/pdtphys 2311 2373 CALL histwrite_phy(o_dqbs, zx_tmp_fi3d) 2312 IF (vars_defined) zx_tmp_fi3d(1:klon,1:klev)=d_t_bs (1:klon,1:klev)/pdtphys2374 IF (vars_defined) zx_tmp_fi3d(1:klon,1:klev)=d_t_bsss(1:klon,1:klev)/pdtphys 2313 2375 CALL histwrite_phy(o_dtbs, zx_tmp_fi3d) 2314 2376 ENDIF … … 2810 2872 end if 2811 2873 2874 !! runoff land bucket - ajout S. Nguyen 23 07 2024 2875 CALL histwrite_phy(o_runoff_diag, runoff_diag) 2876 2812 2877 #ifdef ISO 2813 do ixt=1,ntiso 2814 ! write(*,*) 'ixt' 2878 !write(*,*) 'tmp phys_output_write: ntiso=',ntiso 2879 2880 DO ixt = 1, ntiso 2881 !write(*,*) 'ixt,o_xtovap(ixt)=',ixt,o_xtovap(ixt) 2815 2882 IF (vars_defined) zx_tmp_fi2d(:) = xtrain_fall(ixt,:) + xtsnow_fall(ixt,:) 2816 2883 CALL histwrite_phy(o_xtprecip(ixt), zx_tmp_fi2d) … … 2824 2891 CALL histwrite_phy(o_xtovap(ixt), xt_seri(ixt,:,:)) 2825 2892 CALL histwrite_phy(o_xtoliq(ixt), xtl_seri(ixt,:,:)) 2893 2894 !! runoff land bucket - ajout S. Nguyen 25 avril 2024 2895 CALL histwrite_phy(o_xtrunoff_diag(ixt), xtrunoff_diag(ixt,:)) 2896 2826 2897 2827 2898 DO nsrf = 1, nbsrf ! ajout Camille 8 mai 2023 … … 2884 2955 ENDDO ! iff 2885 2956 #endif 2957 2958 !SN activate water isotopes present in tracer.def 2959 #ifdef ISO 2960 DO ixt = 1, ntiso 2961 outiso = TRIM(isoName(ixt)) 2962 i = INDEX(outiso, '_', .TRUE.) 2963 outiso = outiso(1:i-1)//outiso(i+1:LEN_TRIM(outiso)) 2964 2965 CALL xios_set_fieldgroup_attr("iso2D_"//TRIM(outiso), enabled=.TRUE.) 2966 CALL xios_set_fieldgroup_attr("iso3D_"//TRIM(outiso), enabled=.TRUE.) 2967 2968 ENDDO 2969 #endif 2886 2970 !On finalise l'initialisation: 2887 2971 IF (using_xios) CALL wxios_closedef()
Note: See TracChangeset
for help on using the changeset viewer.