[524] | 1 | ! |
---|
[1279] | 2 | ! $Id: comvert_mod.F90 2641 2016-09-29 21:26:46Z acaubel $ |
---|
[524] | 3 | ! |
---|
[2600] | 4 | MODULE comvert_mod |
---|
[524] | 5 | |
---|
[2600] | 6 | IMPLICIT NONE |
---|
[524] | 7 | |
---|
[2602] | 8 | PRIVATE |
---|
[2600] | 9 | INCLUDE "dimensions.h" |
---|
[524] | 10 | |
---|
[2602] | 11 | PUBLIC :: ap,bp,presnivs,dpres,sig,ds,pa,preff,nivsigs,nivsig, & |
---|
| 12 | aps,bps,scaleheight,pseudoalt,disvert_type, pressure_exner |
---|
| 13 | |
---|
[2600] | 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(), |
---|
[1793] | 29 | ! preff and scaleheight |
---|
[1520] | 30 | |
---|
[2600] | 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 |
---|
[1520] | 36 | |
---|
[2600] | 37 | LOGICAL pressure_exner |
---|
[1625] | 38 | ! compute pressure inside layers using Exner function, else use mean |
---|
| 39 | ! of pressure values at interfaces |
---|
| 40 | |
---|
[2600] | 41 | END MODULE comvert_mod |
---|