Changeset 3853 for LMDZ6/branches/IPSL-CM6A-MR
- Timestamp:
- Feb 23, 2021, 4:01:34 PM (4 years ago)
- Location:
- LMDZ6/branches/IPSL-CM6A-MR
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/IPSL-CM6A-MR/DefLists/context_lmdz.xml
r3721 r3853 63 63 <axis id="time_year" unit="day" /> 64 64 <axis id="presnivs" standard_name="Vertical levels" unit="Pa"/> 65 <axis id="presinter" standard_name="Pressure at interface of vertical levels" unit="Pa"/> 65 66 <axis id="Ahyb" standard_name="Ahyb comp of Hyb Cord" unit="Pa"/> 66 67 <axis id="Bhyb" standard_name="Bhyb comp of Hyb Cord" unit=""/> … … 114 115 </grid> 115 116 117 <grid id="grid_glo_presinter"> 118 <domain domain_ref="dom_glo" /> 119 <axis axis_ref="presinter" /> 120 </grid> 121 <grid id="grid_out_presinter"> 122 <domain domain_ref="dom_out" /> 123 <axis axis_ref="presinter" /> 124 </grid> 125 116 126 <grid id="grid_glo_plev"> 117 127 <domain domain_ref="dom_glo" /> -
LMDZ6/branches/IPSL-CM6A-MR/libf/dyn3d_common/comvert_mod.F90
r2602 r3853 10 10 11 11 PUBLIC :: ap,bp,presnivs,dpres,sig,ds,pa,preff,nivsigs,nivsig, & 12 aps,bps,scaleheight,pseudoalt,disvert_type, pressure_exner 12 aps,bps,scaleheight,pseudoalt,disvert_type, pressure_exner, & 13 presinter 13 14 14 15 REAL ap(llm+1) ! hybrid pressure contribution at interlayers 15 16 REAL bp (llm+1) ! hybrid sigma contribution at interlayer 16 17 REAL presnivs(llm) ! (reference) pressure at mid-layers 18 REAL presinter(llm+1) ! (reference) pressure at interlayers 17 19 REAL dpres(llm) 18 20 REAL sig(llm+1) -
LMDZ6/branches/IPSL-CM6A-MR/libf/dyn3d_common/disvert.F90
r2786 r3853 11 11 use assert_m, only: assert 12 12 USE comvert_mod, ONLY: ap, bp, aps, bps, nivsigs, nivsig, dpres, presnivs, & 13 pseudoalt, pa, preff, scaleheight 13 pseudoalt, pa, preff, scaleheight, presinter 14 14 USE logic_mod, ONLY: ok_strato 15 15 … … 35 35 ! dpres(llm) !--- PRESSURE DIFFERENCE FOR EACH LAYER 36 36 ! presnivs(llm) !--- PRESSURE AT EACH MID-LAYER 37 ! presinter(llm+1) !--- PRESSURE AT EACH INTERFACE 37 38 ! scaleheight !--- VERTICAL SCALE HEIGHT (Earth: 8kms) 38 39 ! nivsig(llm+1) !--- SIGMA INDEX OF EACH LAYER INTERFACE … … 355 356 max(ap(l+1)+bp(l+1)*preff, 1.e-10)) 356 357 ENDDO 358 DO l=1, llmp1 359 presinter(l)= ( ap(l)+bp(l)*preff) 360 write(lunout, *)'PRESINTER(', l, ')=', presinter(l) 361 ENDDO 357 362 358 363 write(lunout, *) trim(modname),': PRESNIVS ' -
LMDZ6/branches/IPSL-CM6A-MR/libf/dynphy_lonlat/inigeomphy_mod.F90
r3435 r3853 25 25 USE nrtype, ONLY: pi 26 26 USE comvert_mod, ONLY: preff, ap, bp, aps, bps, presnivs, & 27 scaleheight, pseudoalt 27 scaleheight, pseudoalt, presinter 28 28 USE vertical_layers_mod, ONLY: init_vertical_layers 29 29 IMPLICIT NONE … … 224 224 ! copy over preff , ap(), bp(), etc 225 225 CALL init_vertical_layers(nlayer,preff,scaleheight, & 226 ap,bp,aps,bps,presnivs,p seudoalt)226 ap,bp,aps,bps,presnivs,presinter,pseudoalt) 227 227 228 228 !$OMP END PARALLEL -
LMDZ6/branches/IPSL-CM6A-MR/libf/phy_common/vertical_layers_mod.F90
r2786 r3853 15 15 REAL,SAVE,ALLOCATABLE :: presnivs(:) ! reference pressure at mid-layer (Pa), 16 16 ! based on preff, ap and bp 17 REAL,SAVE,ALLOCATABLE :: presinter(:) ! reference pressure at interface (Pa), 18 ! based on preff, ap and bp 17 19 REAL,SAVE,ALLOCATABLE :: pseudoalt(:) ! pseudo-altitude of model layers (km), 18 20 ! based on preff and scaleheight 19 21 20 !$OMP THREADPRIVATE(preff,scaleheight,ap,bp,aps,bps,presnivs,p seudoalt)22 !$OMP THREADPRIVATE(preff,scaleheight,ap,bp,aps,bps,presnivs,presinter,pseudoalt) 21 23 22 24 … … 24 26 25 27 SUBROUTINE init_vertical_layers(nlayer,preff_,scaleheight_,ap_,bp_,& 26 aps_,bps_,presnivs_, p seudoalt_)28 aps_,bps_,presnivs_, presinter_, pseudoalt_) 27 29 IMPLICIT NONE 28 30 INTEGER,INTENT(IN) :: nlayer ! number of atmospheric layers … … 34 36 REAL,INTENT(IN) :: bps_(nlayer) ! hybrid coordinate at mid-layer 35 37 REAL,INTENT(IN) :: presnivs_(nlayer) ! Appproximative pressure of atm. layers (Pa) 38 REAL,INTENT(IN) :: presinter_(nlayer+1) ! Appproximative pressure of atm. layers (Pa) 36 39 REAL,INTENT(IN) :: pseudoalt_(nlayer) ! pseudo-altitude of atm. layers (km) 37 40 … … 41 44 ALLOCATE(bps(nlayer)) 42 45 ALLOCATE(presnivs(nlayer)) 46 ALLOCATE(presinter(nlayer+1)) 43 47 ALLOCATE(pseudoalt(nlayer)) 44 48 … … 50 54 bps(:) = bps_(:) 51 55 presnivs(:) = presnivs_(:) 56 presinter(:) = presinter_(:) 52 57 pseudoalt(:) = pseudoalt_(:) 53 58 -
LMDZ6/branches/IPSL-CM6A-MR/libf/phylmd/iophy.F90
r3488 r3853 1227 1227 1228 1228 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 1234 1235 1235 1236 IF (SIZE(field,1) == klon) then -
LMDZ6/branches/IPSL-CM6A-MR/libf/phylmd/phys_output_mod.F90
r3666 r3853 44 44 USE mod_grid_phy_lmdz, only: klon_glo,nbp_lon,nbp_lat 45 45 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 47 47 USE time_phylmdz_mod, ONLY: day_ini, itau_phy, start_time, annee_ref, day_ref 48 48 #ifdef CPP_XIOS … … 348 348 CALL wxios_add_vaxis("presnivs", & 349 349 levmax(iff) - levmin(iff) + 1, presnivs(levmin(iff):levmax(iff))) 350 CALL wxios_add_vaxis("presinter", & 351 klev + 1, presinter(1:klev+1)) 350 352 CALL wxios_add_vaxis("Ahyb", & 351 353 levmax(iff) - levmin(iff) + 1, aps(levmin(iff):levmax(iff)), positif='down', &
Note: See TracChangeset
for help on using the changeset viewer.