edges.analysis.aux_data

Module for dealing with auxiliary data for EDGES observations.

exception edges.analysis.aux_data.WeatherError[source]

Error for weather data issues.

edges.analysis.aux_data.add_thermlog_data(data: GSData, band: str | None = None, thermlog_file: str | Path | None = None) GSData[source]

Add thermlog data to a :class`GSData` object.

This adds data specifically from a file maintained by EDGES.

Parameters:
  • data – Object into which to add the weather data.

  • band – The instrument taking the data. Only provide to automatically find the correct data.

  • thermlog_file – Path to a weather file from which to read the weather data. Must be formatted appropriately. By default, will choose an appropriate file from the configured raw_field_data directory. If provided, will search in the current directory and the raw_field_data directory for the given file (if not an absolute path).

edges.analysis.aux_data.add_weather_data(data: GSData, weather_file: str | Path | None = None) GSData[source]

Add weather data to a :class`GSData` object.

This adds data specifically from a file maintained by EDGES.

Parameters:
  • data – Object into which to add the weather data.

  • weather_file – Path to a weather file from which to read the weather data. Must be formatted appropriately. By default, will choose an appropriate file from the configured raw_field_data directory. If provided, will search in the current directory and the raw_field_data directory for the given file (if not an absolute path).