calcΒΆ
This module contains a variety of meteorological calculations.
Functions
advection(scalar, wind, deltas) |
Calculate the advection of a scalar field by the wind. |
convergence_vorticity(u, v, dx, dy) |
Calculate the horizontal convergence and vertical vorticity of the horizontal wind. |
coriolis_parameter(latitude) |
Calculate the coriolis parameter at each point. |
density(pressure, temperature, mixing[, ...]) |
Calculate density. |
dewpoint(e) |
Calculate the ambient dewpoint given the vapor pressure. |
dewpoint_rh(temperature, rh) |
Calculate the ambient dewpoint given air temperature and relative humidity. |
dry_lapse(pressure, temperature) |
Calculate the temperature at a level assuming only dry processes. |
el(pressure, temperature, dewpt) |
Calculate the equilibrium level. |
equivalent_potential_temperature(pressure, ...) |
Calculate equivalent potential temperature. |
find_intersections(x, a, b[, direction]) |
Calculate the best estimate of intersection. |
friction_velocity(u, w[, v, perturbation, axis]) |
Compute the friction velocity from the time series of velocity components. |
geostrophic_wind(heights, f, dx, dy) |
Calculate the geostrophic wind given from the heights or geopotential. |
get_perturbation(ts[, axis]) |
Compute the perturbation from the mean of a time series. |
get_wind_components(speed, wdir) |
Calculate the U, V wind vector components from the speed and direction. |
get_wind_dir(u, v) |
Compute the wind direction from u and v-components. |
get_wind_speed(u, v) |
Compute the wind speed from u and v-components. |
h_convergence(u, v, dx, dy) |
Calculate the horizontal convergence of the horizontal wind. |
heat_index(temperature, rh[, mask_undefined]) |
Calculate the Heat Index from the current temperature and relative humidity. |
interpolate_nans(x, y[, kind]) |
Interpolate NaN values in y. |
kinematic_flux(vel, b[, perturbation, axis]) |
Compute the kinematic flux from two time series. |
lcl(pressure, temperature, dewpt[, ...]) |
Calculate the lifted condensation level (LCL) using from the starting point. |
lfc(pressure, temperature, dewpt) |
Calculate the level of free convection (LFC). |
mixing_ratio(part_press, tot_press[, ...]) |
Calculate the mixing ratio of a gas. |
moist_lapse(pressure, temperature) |
Calculate the temperature at a level assuming liquid saturation processes. |
nearest_intersection_idx(a, b) |
Determine the index of the point just before two lines with common x values. |
parcel_profile(pressure, temperature, dewpt) |
Calculate the profile a parcel takes through the atmosphere. |
potential_temperature(pressure, temperature) |
Calculate the potential temperature. |
pressure_to_height_std(pressure) |
Convert pressure data to heights using the U.S. |
psychrometric_vapor_pressure_wet(...[, ...]) |
Calculate the vapor pressure with wet bulb and dry bulb temperatures. |
reduce_point_density(points, radius[, priority]) |
Return a mask to reduce the density of points in irregularly-spaced data. |
relative_humidity_wet_psychrometric(...) |
Calculate the relative humidity with wet bulb and dry bulb temperatures. |
resample_nn_1d(a, centers) |
Return one-dimensional nearest-neighbor indexes based on user-specified centers. |
saturation_mixing_ratio(tot_press, temperature) |
Calculate the saturation mixing ratio of water vapor. |
saturation_vapor_pressure(temperature) |
Calculate the saturation water vapor (partial) pressure. |
tke(u, v, w[, perturbation, axis]) |
Compute turbulence kinetic energy. |
v_vorticity(u, v, dx, dy) |
Calculate the vertical vorticity of the horizontal wind. |
vapor_pressure(pressure, mixing) |
Calculate water vapor (partial) pressure. |
virtual_potential_temperature(pressure, ...) |
Calculate virtual potential temperature. |
virtual_temperature(temperature, mixing[, ...]) |
Calculate virtual temperature. |
windchill(temperature, speed[, ...]) |
Calculate the Wind Chill Temperature Index (WCTI). |