|
PALM-meteo
|

Public Member Functions | |
| barom_lapse0_pres (cls, p0, gp, gp0, t0) | |
| barom_lapse0_gp (cls, gp0, p, p0, t0) | |
| barom_ptn_pres (cls, p0, z, t0) | |
| exner (cls, p) | |
| exner_inv (cls, p) | |
| rho_air_ideal_gas (cls, p, pt) | |
Public Attributes | |
| d_p0 | |
Static Public Attributes | |
| float | g = 9.81 |
| int | c_p = 1005. |
| int | r_d = 287. |
| int | p0 = 1e5 |
| float | sigma_sb = 5.67037e-08 |
| int | d_p0 = 1e-5 |
| float | g_d_cp = g / c_p |
| int | cp_d_rd = c_p / r_d |
| int | rd_d_cp = r_d / c_p |
| int | radius = 6371. |
| float | R = 8.314 |
Physics calculations with defined constants This class contains various physics calculations, implemented as class methods, which use defined physical constants. It can be subclassed with different constants to suit processing of data related to models with constants defined otherwise.
| palmmeteo.library.PalmPhysics.barom_lapse0_gp | ( | cls, | |
| gp0, | |||
| p, | |||
| p0, | |||
| t0 | |||
| ) |
Converts geopotential based on pressure using barometric equation
| palmmeteo.library.PalmPhysics.barom_lapse0_pres | ( | cls, | |
| p0, | |||
| gp, | |||
| gp0, | |||
| t0 | |||
| ) |
Converts pressure based on geopotential using barometric equation
| palmmeteo.library.PalmPhysics.barom_ptn_pres | ( | cls, | |
| p0, | |||
| z, | |||
| t0 | |||
| ) |
PALM's barometric_formula( z, t_0, p_0 ) The calculation is based on the assumption of a polytropic atmosphere and neutral stratification, where the temperature lapse rate is g/cp.
| palmmeteo.library.PalmPhysics.exner | ( | cls, | |
| p | |||
| ) |
Exner function
| palmmeteo.library.PalmPhysics.exner_inv | ( | cls, | |
| p | |||
| ) |
Reciprocal of the Exner function
| palmmeteo.library.PalmPhysics.rho_air_ideal_gas | ( | cls, | |
| p, | |||
| pt | |||
| ) |
Air density according to ideal gas law from PALM's function ideal_gas_law_rho_pt( p, t )
|
static |
|
static |
| palmmeteo.library.PalmPhysics.d_p0 |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |