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