[524] | 1 | ! |
---|
[1279] | 2 | ! $Id: comvert_mod.f90 5271 2024-10-24 14:25:39Z evignon $ |
---|
[524] | 3 | ! |
---|
[2600] | 4 | MODULE comvert_mod |
---|
[524] | 5 | |
---|
[5271] | 6 | USE dimensions_mod, ONLY: iim, jjm, llm, ndm |
---|
| 7 | IMPLICIT NONE |
---|
[524] | 8 | |
---|
[2602] | 9 | PRIVATE |
---|
[524] | 10 | |
---|
[5271] | 11 | |
---|
[2602] | 12 | PUBLIC :: ap,bp,presnivs,dpres,sig,ds,pa,preff,nivsigs,nivsig, & |
---|
[4228] | 13 | aps,bps,scaleheight,pseudoalt,disvert_type, pressure_exner, & |
---|
| 14 | presinter |
---|
[2602] | 15 | |
---|
[2600] | 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 |
---|
[4228] | 19 | REAL presinter(llm+1) ! (reference) pressure at interlayers |
---|
[2600] | 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(), |
---|
[1793] | 32 | ! preff and scaleheight |
---|
[1520] | 33 | |
---|
[2600] | 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 |
---|
[1520] | 39 | |
---|
[2600] | 40 | LOGICAL pressure_exner |
---|
[1625] | 41 | ! compute pressure inside layers using Exner function, else use mean |
---|
| 42 | ! of pressure values at interfaces |
---|
| 43 | |
---|
[2600] | 44 | END MODULE comvert_mod |
---|