Ignore:
Timestamp:
Feb 23, 2021, 4:01:34 PM (3 years ago)
Author:
lmdz-users
Message:

Modifications to code to introduce a new vertical axis on llm+1 levels so that fluxes can
be output on their proper levels as per the CMIP6 DataRequest?
LF

Location:
LMDZ6/branches/IPSL-CM6A-MR/libf/phylmd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/IPSL-CM6A-MR/libf/phylmd/iophy.F90

    r3488 r3853  
    12271227
    12281228    nlev=SIZE(field,2)
    1229     IF (nlev.EQ.klev+1) THEN
    1230         nlevx=klev
    1231     ELSE
    1232         nlevx=nlev
    1233     ENDIF
     1229    nlevx=nlev
     1230!    IF (nlev.EQ.klev+1) THEN
     1231!        nlevx=klev
     1232!    ELSE
     1233!        nlevx=nlev
     1234!    ENDIF
    12341235
    12351236    IF (SIZE(field,1) == klon) then
  • LMDZ6/branches/IPSL-CM6A-MR/libf/phylmd/phys_output_mod.F90

    r3666 r3853  
    4444    USE mod_grid_phy_lmdz, only: klon_glo,nbp_lon,nbp_lat
    4545    USE print_control_mod, ONLY: prt_level,lunout
    46     USE vertical_layers_mod, ONLY: ap,bp,preff,presnivs, aps, bps, pseudoalt
     46    USE vertical_layers_mod, ONLY: ap,bp,preff,presnivs, aps, bps, pseudoalt, presinter
    4747    USE time_phylmdz_mod, ONLY: day_ini, itau_phy, start_time, annee_ref, day_ref
    4848#ifdef CPP_XIOS
     
    348348    CALL wxios_add_vaxis("presnivs", &
    349349            levmax(iff) - levmin(iff) + 1, presnivs(levmin(iff):levmax(iff)))
     350    CALL wxios_add_vaxis("presinter", &
     351            klev + 1, presinter(1:klev+1))
    350352    CALL wxios_add_vaxis("Ahyb", &
    351353            levmax(iff) - levmin(iff) + 1, aps(levmin(iff):levmax(iff)), positif='down', &
Note: See TracChangeset for help on using the changeset viewer.