Changeset 4608 for LMDZ6/trunk/libf/phylmd
- Timestamp:
- Jul 5, 2023, 12:03:42 PM (18 months ago)
- Location:
- LMDZ6/trunk/libf/phylmd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/phys_output_write_mod.F90
r4606 r4608 19 19 ok_ade, ok_aie, ok_volcan, ivap, iliq, isol, ibs, ok_sync, & 20 20 ptconv, read_climoz, clevSTD, ptconvth, & 21 d_u, d_t, qx, d_qx, zmasse, flag_aerosol, flag_aerosol_strat, ok_cdnc )21 d_u, d_t, qx, d_qx, zmasse, flag_aerosol, flag_aerosol_strat, ok_cdnc, t, u1, v1) 22 22 23 23 ! This subroutine does the actual writing of diagnostics that were … … 31 31 USE time_phylmdz_mod, ONLY: day_step_phy, start_time, itau_phy 32 32 USE vertical_layers_mod, ONLY : ap, bp, aps, bps 33 USE phystokenc_mod, ONLY: offline 33 34 USE phys_output_ctrlout_mod, ONLY: o_phis, o_aire, is_ter, is_lic, is_oce, & 34 35 o_longitude, o_latitude, & … … 360 361 ep, epmax_diag, & ! epmax_cape 361 362 p_tropopause, t_tropopause, z_tropopause, & 362 zxfluxt,zxfluxq 363 !FC 363 zxfluxt,zxfluxq, & 364 ! offline 365 da, mp, phi, wght_cvfd 366 364 367 365 368 #ifdef CPP_StratAer … … 458 461 INTEGER :: flag_aerosol 459 462 LOGICAL :: ok_cdnc 463 REAL, DIMENSION(klon,klev) :: t ! output for phystoken - offline flux 464 REAL, DIMENSION(klon) :: u1, v1 ! output for phystoken - offline flux 465 460 466 REAL, DIMENSION(3) :: freq_moyNMC 461 467 … … 482 488 #endif 483 489 REAL, PARAMETER :: un_jour=86400. 490 CHARACTER(len=12) :: nvar 484 491 INTEGER :: ISW, itr, ixt, it 485 492 CHARACTER*1 ch1 486 493 CHARACTER(LEN=maxlen) :: varname, dn 487 494 REAL, DIMENSION(klon,klev) :: coefh_stok 495 496 488 497 #ifdef CPP_StratAer 489 498 LOGICAL, PARAMETER :: debug_strataer=.FALSE. … … 874 883 CALL histwrite_phy(o_topl0, toplw0) 875 884 885 ! offline 886 #ifdef CPP_XIOS 887 IF (offline) THEN 888 889 coefh_stok(:,1) = cdragh(:) 890 coefh_stok(:,2:klev) = coefh(:,2:klev, is_ave) 891 892 CALL histwrite_phy('upwd_stok', upwd) 893 CALL histwrite_phy('t_stok', t) 894 CALL histwrite_phy('fm_th_stok', fm_therm(:,1:klev)) 895 CALL histwrite_phy('en_th_stok', entr_therm) 896 CALL histwrite_phy('da_stok',da ) 897 CALL histwrite_phy('mp_stok',mp ) 898 CALL histwrite_phy('dnwd_stok', dnwd) 899 CALL histwrite_phy('wght_stok', wght_cvfd) 900 CALL histwrite_phy('coefh_stok', coefh_stok) 901 CALL histwrite_phy('yu1_stok', u1) 902 CALL histwrite_phy('yv1_stok', v1) 903 904 DO k=1,klev 905 IF (k<10) THEN 906 WRITE(nvar,'(i1)') k 907 ELSE IF (k<100) THEN 908 WRITE(nvar,'(i2)') k 909 ELSE 910 WRITE(nvar,'(i3)') k 911 END IF 912 nvar='phi_lev'//trim(nvar) 913 CALL histwrite_phy(nvar,phi(:,:,k)) 914 END DO 915 916 ENDIF 917 #endif 918 919 920 921 876 922 IF (vars_defined) THEN 877 923 zx_tmp_fi2d(:) = swup(:,klevp1)*swradcorr(:) -
LMDZ6/trunk/libf/phylmd/physiq_mod.F90
r4601 r4608 1834 1834 ptconv, read_climoz, clevSTD, & 1835 1835 ptconvth, d_u, d_t, qx, d_qx, zmasse, & 1836 flag_aerosol, flag_aerosol_strat, ok_cdnc )1836 flag_aerosol, flag_aerosol_strat, ok_cdnc, t, u1, v1) 1837 1837 #endif 1838 1838 … … 5213 5213 !ENDIF ! (iflag_phytrac=1) 5214 5214 5215 5216 #ifndef INCA 5215 5217 IF (offline) THEN 5216 5218 … … 5228 5230 5229 5231 ENDIF 5230 5232 #endif 5231 5233 ! 5232 5234 ! Calculer le transport de l'eau et de l'energie (diagnostique) … … 5547 5549 ok_sync, ptconv, read_climoz, clevSTD, & 5548 5550 ptconvth, d_u, d_t, qx, d_qx, zmasse, & 5549 flag_aerosol, flag_aerosol_strat, ok_cdnc )5551 flag_aerosol, flag_aerosol_strat, ok_cdnc, t, u1, v1 ) 5550 5552 #endif 5551 5553
Note: See TracChangeset
for help on using the changeset viewer.