1 | |
---|
2 | ! $Id: comvert_mod.F90 5159 2024-08-02 19:58:25Z fairhead $ |
---|
3 | |
---|
4 | MODULE comvert_mod |
---|
5 | |
---|
6 | USE lmdz_dimensions, ONLY: iim, jjm, llm, ndm |
---|
7 | IMPLICIT NONE |
---|
8 | |
---|
9 | PRIVATE |
---|
10 | |
---|
11 | |
---|
12 | PUBLIC :: ap,bp,presnivs,dpres,sig,ds,pa,preff,nivsigs,nivsig, & |
---|
13 | aps,bps,scaleheight,pseudoalt,disvert_type, pressure_exner, & |
---|
14 | presinter |
---|
15 | |
---|
16 | REAL ap(llm+1) ! hybrid pressure contribution at interlayers |
---|
17 | REAL bp (llm+1) ! hybrid sigma contribution at interlayer |
---|
18 | REAL presnivs(llm) ! (reference) pressure at mid-layers |
---|
19 | REAL presinter(llm+1) ! (reference) pressure at interlayers |
---|
20 | REAL dpres(llm) |
---|
21 | REAL sig(llm+1) |
---|
22 | REAL ds(llm) |
---|
23 | REAL pa ! reference pressure (Pa) at which hybrid coordinates |
---|
24 | ! become purely pressure (more or less) |
---|
25 | REAL preff ! reference surface pressure (Pa) |
---|
26 | REAL nivsigs(llm) |
---|
27 | REAL nivsig(llm+1) |
---|
28 | REAL aps(llm) ! hybrid pressure contribution at mid-layers |
---|
29 | REAL bps(llm) ! hybrid sigma contribution at mid-layers |
---|
30 | REAL scaleheight ! atmospheric (reference) scale height (km) |
---|
31 | REAL pseudoalt(llm) ! pseudo-altitude of model levels (km), based on presnivs(), |
---|
32 | ! preff and scaleheight |
---|
33 | |
---|
34 | INTEGER disvert_type ! type of vertical discretization: |
---|
35 | ! 1: Earth (default for planet_type==earth), |
---|
36 | ! automatic generation |
---|
37 | ! 2: Planets (default for planet_type!=earth), |
---|
38 | ! using 'z2sig.def' (or 'esasig.def) file |
---|
39 | |
---|
40 | LOGICAL pressure_exner |
---|
41 | ! compute pressure inside layers using Exner function, else use mean |
---|
42 | ! of pressure values at interfaces |
---|
43 | |
---|
44 | END MODULE comvert_mod |
---|