- Timestamp:
- Feb 10, 2020, 9:54:26 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/IPSLCM5A2.1/libf/phylmd/phys_output_write_mod.F90
r3606 r3629 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 29 USE time_phylmdz_mod, only: day_step_phy, start_time, itau_phy 30 USE phys_output_ctrlout_mod, only: o_phis, o_aire, is_ter, is_lic, is_oce, & 29 USE time_phylmdz_mod, ONLY: day_step_phy, start_time, itau_phy 30 USE vertical_layers_mod, ONLY : ap, bp, aps, bps 31 USE phys_output_ctrlout_mod, ONLY: o_phis, o_aire, is_ter, is_lic, is_oce, & 32 o_longitude, o_latitude, & 33 o_Ahyb, o_Bhyb,o_Ahyb_bounds, o_Bhyb_bounds, & 34 o_Ahyb_mid, o_Bhyb_mid,o_Ahyb_mid_bounds, o_Bhyb_mid_bounds, & 31 35 is_ave, is_sic, o_contfracATM, o_contfracOR, & 32 36 o_aireTER, o_flat, o_slp, o_ptstar, o_pt0, o_tsol, & … … 295 299 USE indice_sol_mod, only: nbsrf 296 300 USE infotrac_phy, only: nqtot, nqo, type_trac 297 USE geometry_mod, only: cell_area 301 USE geometry_mod, only: cell_area, latitude_deg, longitude_deg 298 302 USE surface_data, only: type_ocean, version_ocean, ok_veget, ok_snow 299 303 ! USE aero_mod, only: naero_spc … … 351 355 REAL, PARAMETER :: dobson_u = 2.1415e-05 ! Dobson unit, in kg m-2 352 356 ! REAL, PARAMETER :: missing_val=nf90_fill_real 357 REAL, DIMENSION(klev+1,2) :: Ahyb_bounds, Bhyb_bounds 358 REAL, DIMENSION(klev,2) :: Ahyb_mid_bounds, Bhyb_mid_bounds 359 INTEGER :: ilev 353 360 #ifndef CPP_XIOS 354 361 REAL :: missing_val … … 367 374 ENDIF 368 375 369 ! ug la boucle qui suit ne sert qu'une fois, pour l'initialisation, sinon il n'y a toujours qu'un seul passage: 376 Ahyb_bounds(1,1) = 0. 377 Ahyb_bounds(1,2) = aps(1) 378 Bhyb_bounds(1,1) = 1. 379 Bhyb_bounds(1,2) = bps(1) 380 DO ilev=2,klev 381 Ahyb_bounds(ilev,1) = aps(ilev-1) 382 Ahyb_bounds(ilev,2) = aps(ilev) 383 Bhyb_bounds(ilev,1) = bps(ilev-1) 384 Bhyb_bounds(ilev,2) = bps(ilev) 385 ENDDO 386 Ahyb_bounds(klev+1,1) = aps(klev) 387 Ahyb_bounds(klev+1,2) = 0. 388 Bhyb_bounds(klev+1,1) = bps(klev) 389 Bhyb_bounds(klev+1,2) = 0. 390 391 DO ilev=1, klev 392 Ahyb_mid_bounds(ilev,1) = ap(ilev) 393 Ahyb_mid_bounds(ilev,2) = ap(ilev+1) 394 Bhyb_mid_bounds(ilev,1) = bp(ilev) 395 Bhyb_mid_bounds(ilev,2) = bp(ilev+1) 396 END DO 397 398 ! ug la boucle qui suit ne sert qu'une fois, pour l'initialisation, sinon il n'y a toujours qu'un seul passage: 370 399 DO iinit=1, iinitend 371 400 #ifdef CPP_XIOS … … 403 432 CALL histwrite_phy(o_contfracOR, pctsrf(:,is_ter)) 404 433 CALL histwrite_phy(o_aireTER, paire_ter) 434 #ifdef CPP_XIOS 435 CALL histwrite_phy(o_Ahyb, ap) 436 CALL histwrite_phy(o_Bhyb, bp) 437 CALL histwrite_phy(o_Ahyb_bounds, Ahyb_bounds) 438 CALL histwrite_phy(o_Bhyb_bounds, Bhyb_bounds) 439 CALL histwrite_phy(o_Ahyb_mid, aps) 440 CALL histwrite_phy(o_Bhyb_mid, bps) 441 CALL histwrite_phy(o_Ahyb_mid_bounds, Ahyb_mid_bounds) 442 CALL histwrite_phy(o_Bhyb_mid_bounds, Bhyb_mid_bounds) 443 CALL histwrite_phy(o_longitude, longitude_deg) 444 CALL histwrite_phy(o_latitude, latitude_deg) 445 #endif 446 405 447 !!! Champs 2D !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 406 448 ! Simulateur AIRS … … 1010 1052 !This is warranted by treating INCA aerosols as offline aerosols 1011 1053 IF (new_aod .and. (.not. aerosol_couple)) THEN 1012 ! IF (new_aod) THEN1013 1054 IF (flag_aerosol.GT.0) THEN 1014 1055 CALL histwrite_phy(o_od550aer, od550aer)
Note: See TracChangeset
for help on using the changeset viewer.