1 | ! |
---|
2 | ! $Id: comvert_mod.F90 2641 2016-09-29 21:26:46Z emillour $ |
---|
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 | |
---|
14 | REAL ap(llm+1) ! hybrid pressure contribution at interlayers |
---|
15 | REAL bp (llm+1) ! hybrid sigma contribution at interlayer |
---|
16 | REAL presnivs(llm) ! (reference) pressure at mid-layers |
---|
17 | REAL dpres(llm) |
---|
18 | REAL sig(llm+1) |
---|
19 | REAL ds(llm) |
---|
20 | REAL pa ! reference pressure (Pa) at which hybrid coordinates |
---|
21 | ! become purely pressure (more or less) |
---|
22 | REAL preff ! reference surface pressure (Pa) |
---|
23 | REAL nivsigs(llm) |
---|
24 | REAL nivsig(llm+1) |
---|
25 | REAL aps(llm) ! hybrid pressure contribution at mid-layers |
---|
26 | REAL bps(llm) ! hybrid sigma contribution at mid-layers |
---|
27 | REAL scaleheight ! atmospheric (reference) scale height (km) |
---|
28 | REAL pseudoalt(llm) ! pseudo-altitude of model levels (km), based on presnivs(), |
---|
29 | ! preff and scaleheight |
---|
30 | |
---|
31 | INTEGER disvert_type ! type of vertical discretization: |
---|
32 | ! 1: Earth (default for planet_type==earth), |
---|
33 | ! automatic generation |
---|
34 | ! 2: Planets (default for planet_type!=earth), |
---|
35 | ! using 'z2sig.def' (or 'esasig.def) file |
---|
36 | |
---|
37 | LOGICAL pressure_exner |
---|
38 | ! compute pressure inside layers using Exner function, else use mean |
---|
39 | ! of pressure values at interfaces |
---|
40 | |
---|
41 | END MODULE comvert_mod |
---|