Ignore:
Timestamp:
Jul 26, 2022, 3:36:45 PM (2 years ago)
Author:
Laurent Fairhead
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??
Actually is r3853 from the IPSL-CM6A-MR branch
LF

Location:
LMDZ6/trunk/libf/phylmd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/iophy.F90

    • Property svn:keywords changed from Author Date Id Revision to Id
    r4103 r4228  
    12491249
    12501250    nlev=SIZE(field,2)
    1251     IF (nlev.EQ.klev+1) THEN
    1252         nlevx=klev
    1253     ELSE
    1254         nlevx=nlev
    1255     ENDIF
     1251    nlevx=nlev
     1252!    IF (nlev.EQ.klev+1) THEN
     1253!        nlevx=klev
     1254!    ELSE
     1255!        nlevx=nlev
     1256!    ENDIF
    12561257
    12571258    IF (SIZE(field,1) == klon) then
  • LMDZ6/trunk/libf/phylmd/phys_output_mod.F90

    • Property svn:keywords changed from Author Date Id Revision to Id
    r4170 r4228  
    4545    USE mod_grid_phy_lmdz, only: klon_glo,nbp_lon,nbp_lat
    4646    USE print_control_mod, ONLY: prt_level,lunout
    47     USE vertical_layers_mod, ONLY: ap,bp,preff,presnivs, aps, bps, pseudoalt
     47    USE vertical_layers_mod, ONLY: ap,bp,preff,presnivs, aps, bps, pseudoalt, presinter
    4848    USE time_phylmdz_mod, ONLY: day_ini, itau_phy, start_time, annee_ref, day_ref
    4949#ifdef CPP_XIOS
     
    347347    CALL wxios_add_vaxis("presnivs", &
    348348            levmax(iff) - levmin(iff) + 1, presnivs(levmin(iff):levmax(iff)))
     349    CALL wxios_add_vaxis("presinter", &
     350            klev + 1, presinter(1:klev+1))
    349351    CALL wxios_add_vaxis("Ahyb", &
    350352            levmax(iff) - levmin(iff) + 1, aps(levmin(iff):levmax(iff)), positif='down', &
Note: See TracChangeset for help on using the changeset viewer.