Calculations (rojak.core.calculations)#

Atmospheric unit conversions and general xarray/interpolation utilities

This module provides:

Functions

altitude_in_ft_to_pressure(altitude)

Convert altitude in ft to pressure in hPa for ICAO standard atmosphere [NACA3182]

altitude_to_pressure_icao(altitude)

Convert altitude to pressure for ICAO standard atmosphere [NACA3182]

altitude_to_pressure_stratosphere(altitude)

Convert altitude to pressure for the stratosphere

altitude_to_pressure_troposphere(altitude)

Convert altitude to pressure for the troposphere

apply_data_var_reduction(...)

Aggregates over data variables of a data set.

bilinear_interpolation(longitude, latitude, ...)

Bilinear interpolation using 4 points

interpolation_on_lat_lon(data, interp_points)

Interpolate a latitude/longitude gridded DataArray onto a set of (longitude, latitude) points

pressure_to_altitude_icao(pressure[, in_place])

Convert pressure to altitude for ICAO standard atmosphere up to 80 km [NACA3182]

pressure_to_altitude_stratosphere(pressure)

Convert pressure to altitude for the stratosphere

pressure_to_altitude_troposphere(pressure)

Convert pressure to altitude for the troposphere

pressure_to_altitude_us_std_atm(pressure)

Convert pressure to altitude for a standard atmosphere

Classes

XrAggregationMethod(*values)

An aggregation method supported by apply_data_var_reduction()