[524] | 1 | ! |
---|
[1279] | 2 | ! $Id: comvert_mod.F90 4228 2022-07-26 13:36:45Z fhourdin $ |
---|
[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, & |
---|
[4228] | 12 | aps,bps,scaleheight,pseudoalt,disvert_type, pressure_exner, & |
---|
| 13 | presinter |
---|
[2602] | 14 | |
---|
[2600] | 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 |
---|
[4228] | 18 | REAL presinter(llm+1) ! (reference) pressure at interlayers |
---|
[2600] | 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(), |
---|
[1793] | 31 | ! preff and scaleheight |
---|
[1520] | 32 | |
---|
[2600] | 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 |
---|
[1520] | 38 | |
---|
[2600] | 39 | LOGICAL pressure_exner |
---|
[1625] | 40 | ! compute pressure inside layers using Exner function, else use mean |
---|
| 41 | ! of pressure values at interfaces |
---|
| 42 | |
---|
[2600] | 43 | END MODULE comvert_mod |
---|