eradiate.thermoprops.util#

Description

Utility functions to manipulate atmosphere thermophysical properties data sets.

Functions

column_mass_density(ds, species)

Computes the column (mass) density of a given species in an atmospheric profile.

column_number_density(ds, species)

Computes the column number density of a given species in an atmospheric profile.

compute_scaling_factors(ds, concentration)

Compute the scaling factors to be applied to the mixing ratio values of each species in an atmosphere thermophysical properties data set, so that the integrated number/mass density and/or the number/mass density at the surface, match given values.

equilibrium_water_vapor_fraction(p, t)

Computes the water vapor volume fraction at equilibrium, i.e., when the rate of condensation of water vapor equals the rate of evaporation of liquid water or ice, depending on the temperature.

human_readable(items)

Transforms a list into readable human text.

interpolate(ds, z_level[, method, ...])

Interpolates an atmosphere thermophysical properties data set onto a new level altitude mesh.

make_profile_regular(profile, atol)

Converts the atmosphere thermophysical properties data set with an irregular altitude mesh to a profile defined over a regular altitude mesh.

mass_density_at_surface(ds, species)

Compute the mass density at the surface of a given species in an atmospheric profile.

number_density_at_surface(ds, species)

Compute the number density at the surface of a given species in an atmospheric profile.

rescale_concentration(ds, factors[, inplace])

Rescale mixing ratios in an atmosphere thermophysical properties data set by given factors for each species.

volume_mixing_ratio_at_surface(ds, species)

Compute the volume mixing ratio at the surface of a given species in an atmospheric profile.

water_vapor_saturation_pressure(t)

Computes the water vapor saturation pressure over liquid water or ice, at the given temperature.