Skip to content

Temperature

Mode

Bases: StrEnum

Temperature inversion mode, determining which residual function to use.

residual_function(chemistry_parameters)

Returns the residual function for this mode.

compute_along_track(data_frame, mode, to_wgs84=False, chemistry_parameters=None)

Computes temperature along a radar track from attenuation rates.

Uses root-finding to invert the attenuation-conductivity relationship and recover temperature at each point along the track.

Parameters:

Name Type Description Default
data_frame DataFrame

Input data with columns atten_rate_C0, x, and y.

required
mode Mode

The inversion mode selecting which residual function to use.

required
to_wgs84 bool

If True, reproject the result from EPSG:3031 to EPSG:4326.

False

Returns:

Type Description
GeoDataFrame

A GeoDataFrame with temperature and attenuation columns.

Raises:

Type Description
ValueError

If atten_rate_C0 is not in the data frame.