Changeset 2645
- Timestamp:
- Oct 4, 2016, 5:49:13 PM (8 years ago)
- Location:
- LMDZ5/trunk/libf/phylmd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/iophy.F90
r2529 r2645 17 17 #ifdef CPP_XIOS 18 18 INTERFACE histwrite_phy 19 MODULE PROCEDURE histwrite2d_phy,histwrite3d_phy,histwrite2d_phy_old,histwrite3d_phy_old,histwrite2d_xios,histwrite3d_xios 19 MODULE PROCEDURE histwrite2d_phy,histwrite3d_phy,histwrite2d_phy_old,histwrite3d_phy_old,histwrite2d_xios,histwrite3d_xios,histwrite0d_xios 20 20 END INTERFACE 21 21 #else … … 1331 1331 IF (prt_level >= 10) write(lunout,*)'End histrwrite3d_xios ',field_name 1332 1332 END SUBROUTINE histwrite3d_xios 1333 1334 SUBROUTINE histwrite0d_xios(field_name, field) 1335 USE xios, only: xios_send_scalar 1336 IMPLICIT NONE 1337 1338 CHARACTER(LEN=*), INTENT(IN) :: field_name 1339 REAL, INTENT(IN) :: field ! --> scalar 1340 1341 !$OMP MASTER 1342 CALL xios_send_scalar(field_name, field) 1343 !$OMP END MASTER 1344 1345 END SUBROUTINE histwrite0d_xios 1333 1346 #endif 1334 1347 end module iophy -
LMDZ5/trunk/libf/phylmd/phys_output_write_mod.F90
r2630 r2645 312 312 USE phys_cal_mod, only : mth_len 313 313 314 #ifdef CPP_RRTM 315 USE YOESW, ONLY : RSUN 316 #endif 314 317 315 318 IMPLICIT NONE … … 355 358 #endif 356 359 REAL, PARAMETER :: un_jour=86400. 360 INTEGER ISW 361 CHARACTER*1 ch1 357 362 358 363 ! On calcul le nouveau tau: … … 403 408 CALL histwrite_phy(o_contfracOR, pctsrf(:,is_ter)) 404 409 CALL histwrite_phy(o_aireTER, paire_ter) 410 ! 411 #ifdef CPP_XIOS 412 CALL histwrite_phy("R_ecc",R_ecc) 413 CALL histwrite_phy("R_peri",R_peri) 414 CALL histwrite_phy("R_incl",R_incl) 415 CALL histwrite_phy("solaire",solaire) 416 ! 417 #ifdef CPP_RRTM 418 IF (iflag_rrtm.EQ.1) THEN 419 DO ISW=1, NSW 420 WRITE(ch1,'(i1)') ISW 421 ! zx_tmp_0d=RSUN(ISW) 422 ! CALL histwrite_phy("rsun"//ch1,zx_tmp_0d) 423 CALL histwrite_phy("rsun"//ch1,RSUN(ISW)) 424 ENDDO 425 ENDIF 426 #endif 427 ! 428 CALL histwrite_phy("co2_ppm",co2_ppm) 429 CALL histwrite_phy("CH4_ppb",CH4_ppb) 430 CALL histwrite_phy("N2O_ppb",N2O_ppb) 431 CALL histwrite_phy("CFC11_ppt",CFC11_ppt) 432 CALL histwrite_phy("CFC12_ppt",CFC12_ppt) 433 ! 434 #endif 435 405 436 !!! Champs 2D !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 406 437 ! Simulateur AIRS
Note: See TracChangeset
for help on using the changeset viewer.