space_weather¶
Functions¶
|
Reads a space weather data file and produces a dictionary with solar activity data for a range of epochs. |
- read_solar_activity_data(file_path: str) dict[float, tudatpy.kernel.data_input.environment_data.space_weather.SolarActivityData]¶
Reads a space weather data file and produces a dictionary with solar activity data for a range of epochs. Data files can be obtained from http://celestrak.com/SpaceData and should follow the legacy format.
- Parameters:
file_path (str) – Path to the space weather data file.
- Returns:
Solar activity data indexed by UTC Julian day.
- Return type:
Classes¶
Container for time-indexed solar-activity data. |
|
Solar-activity data for a single space-weather epoch. |
- class SolarActivityContainer¶
Bases:
pybind11_objectContainer for time-indexed solar-activity data.
- Parameters:
solar_activity_data_map (dict[float, SolarActivityData]) – Solar activity data indexed by UTC Julian day.
- get_solar_activity_data(self: tudatpy.kernel.data_input.environment_data.space_weather.SolarActivityContainer, time: float) tudatpy.kernel.data_input.environment_data.space_weather.SolarActivityData¶
Returns the nearest solar-activity data entry.
- Parameters:
time (float) – Seconds since J2000.
- Returns:
Nearest solar-activity data entry.
- Return type:
- get_solar_activity_data_map(self: tudatpy.kernel.data_input.environment_data.space_weather.SolarActivityContainer) dict[float, tudatpy.kernel.data_input.environment_data.space_weather.SolarActivityData]¶
Return all solar-activity data.
- Returns:
Solar activity data indexed by UTC Julian day.
- Return type: