- Timestamp:
- Oct 14, 2016, 2:57:28 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: 2642-2664
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phylmd/phys_output_write_mod.F90
r2641 r2669 24 24 ! defined and initialised in phys_output_mod.F90 25 25 26 USE dimphy, only: klon, klev, klevp1 , nslay26 USE dimphy, only: klon, klev, klevp1 27 27 USE mod_phys_lmdz_para, ONLY: is_north_pole_phy,is_south_pole_phy 28 28 USE mod_grid_phy_lmdz, ONLY : nbp_lon, nbp_lat … … 89 89 o_slab_qflux, o_tslab, o_slab_bils, & 90 90 o_slab_bilg, o_slab_sic, o_slab_tice, & 91 o_slab_hdiff, o_slab_ekman, & 91 92 o_weakinv, o_dthmin, o_cldtau, & 92 93 o_cldemi, o_pr_con_l, o_pr_con_i, & … … 291 292 292 293 293 USE ocean_slab_mod, only: tslab, slab_bils, slab_bilg, tice, seaice 294 USE ocean_slab_mod, only: nslay, tslab, slab_bils, slab_bilg, tice, & 295 seaice, slab_ekman,slab_hdiff, dt_ekman, dt_hdiff 294 296 USE pbl_surface_mod, only: snow 295 297 USE indice_sol_mod, only: nbsrf … … 312 314 USE phys_cal_mod, only : mth_len 313 315 316 #ifdef CPP_RRTM 317 USE YOESW, ONLY : RSUN 318 #endif 314 319 315 320 IMPLICIT NONE … … 355 360 #endif 356 361 REAL, PARAMETER :: un_jour=86400. 362 INTEGER ISW 363 CHARACTER*1 ch1 357 364 358 365 ! On calcul le nouveau tau: … … 403 410 CALL histwrite_phy(o_contfracOR, pctsrf(:,is_ter)) 404 411 CALL histwrite_phy(o_aireTER, paire_ter) 412 ! 413 #ifdef CPP_XIOS 414 CALL histwrite_phy("R_ecc",R_ecc) 415 CALL histwrite_phy("R_peri",R_peri) 416 CALL histwrite_phy("R_incl",R_incl) 417 CALL histwrite_phy("solaire",solaire) 418 ! 419 #ifdef CPP_RRTM 420 IF (iflag_rrtm.EQ.1) THEN 421 DO ISW=1, NSW 422 WRITE(ch1,'(i1)') ISW 423 ! zx_tmp_0d=RSUN(ISW) 424 ! CALL histwrite_phy("rsun"//ch1,zx_tmp_0d) 425 CALL histwrite_phy("rsun"//ch1,RSUN(ISW)) 426 ENDDO 427 ENDIF 428 #endif 429 ! 430 CALL histwrite_phy("co2_ppm",co2_ppm) 431 CALL histwrite_phy("CH4_ppb",CH4_ppb) 432 CALL histwrite_phy("N2O_ppb",N2O_ppb) 433 CALL histwrite_phy("CFC11_ppt",CFC11_ppt) 434 CALL histwrite_phy("CFC12_ppt",CFC12_ppt) 435 ! 436 #endif 437 405 438 !!! Champs 2D !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 406 439 ! Simulateur AIRS … … 951 984 CALL histwrite_phy(o_tslab, zx_tmp_fi2d) 952 985 ELSE 953 CALL histwrite_phy(o_tslab, tslab )986 CALL histwrite_phy(o_tslab, tslab(:,1:nslay)) 954 987 END IF 955 988 IF (version_ocean=='sicINT') THEN … … 957 990 CALL histwrite_phy(o_slab_tice, tice) 958 991 CALL histwrite_phy(o_slab_sic, seaice) 992 END IF 993 IF (slab_hdiff) THEN 994 IF (nslay.EQ.1) THEN 995 zx_tmp_fi2d(:)=dt_hdiff(:,1) 996 CALL histwrite_phy(o_slab_hdiff, zx_tmp_fi2d) 997 ELSE 998 CALL histwrite_phy(o_slab_hdiff, dt_hdiff(:,1:nslay)) 999 END IF 1000 END IF 1001 IF (slab_ekman.GT.0) THEN 1002 IF (nslay.EQ.1) THEN 1003 zx_tmp_fi2d(:)=dt_ekman(:,1) 1004 CALL histwrite_phy(o_slab_ekman, zx_tmp_fi2d) 1005 ELSE 1006 CALL histwrite_phy(o_slab_ekman, dt_ekman(:,1:nslay)) 1007 END IF 959 1008 END IF 960 1009 ENDIF !type_ocean == force/slab
Note: See TracChangeset
for help on using the changeset viewer.