WeatherInfo

class sofia_redux.scan.info.weather_info.WeatherInfo(configuration_path=None)[source]

Bases: Info

An abstract class used to retrieve information on environmental conditions such as temperature, pressure, and wind.

Initialize an Info object.

The information object contains multiple InfoBase objects pertaining to specific types of information. It is one of the most high-level classes in the reduction, containing all the necessary configuration options and information from scans, and should therefore be used to direct the reduction process.

Parameters:
configuration_pathstr, optional

An alternate directory path to the configuration tree to be used during the reduction. The default is <package>/data/configurations.

Methods Summary

get_ambient_humidity()

Get the ambient humidity.

get_ambient_kelvins()

Get the ambient temperature in Kelvins.

get_ambient_pressure()

Get the ambient pressure.

get_wind_direction()

Return the wind direction.

get_wind_peak()

Return the wind peak.

get_wind_speed()

Return the wind speed.

Methods Documentation

abstract get_ambient_humidity()[source]

Get the ambient humidity.

Returns:
humidityunits.Quantity
abstract get_ambient_kelvins()[source]

Get the ambient temperature in Kelvins.

Returns:
kelvinsunits.Quantity
abstract get_ambient_pressure()[source]

Get the ambient pressure.

Returns:
pressureunits.Quantity
abstract get_wind_direction()[source]

Return the wind direction.

Returns:
directionunits.Quantity
abstract get_wind_peak()[source]

Return the wind peak.

Returns:
speedunits.Quantity
abstract get_wind_speed()[source]

Return the wind speed.

Returns:
speedunits.Quantity