swvo.io.f10_7.omni#
Module for handling F10.7 data from OMNI low resolution files.
Classes
|
Class for reading F10.7 data from OMNI low resolution files. |
- class swvo.io.f10_7.omni.F107OMNI(data_dir: Path | None = None, prefer_env_var: bool = False)[source]#
Bases:
OMNILowResClass for reading F10.7 data from OMNI low resolution files. Inherits the
download_and_process(), other private methods and attributes fromOMNILowRes.- read(start_time: datetime, end_time: datetime, download: bool = False) DataFrame[source]#
Extract F10.7 data from OMNI Low Resolution files.
- Parameters:
- start_timedatetime
Start time of the data to read. Must be timezone-aware.
- end_timedatetime
End time of the data to read. Must be timezone-aware.
- downloadbool, optional
Download data on the go, defaults to False.
- Returns:
pandas.DataFrameF10.7 from OMNI Low Resolution data.
- download_and_process(start_time: datetime, end_time: datetime, reprocess_files: bool = False) None#
Download and process OMNI Low Resolution data files.
- Parameters:
- start_timedatetime
Start time for the data to be downloaded and processed.
- end_timedatetime
End time for the data to be downloaded and processed.
- reprocess_filesbool, optional
Downloads and processes the files again, defaults to False, by default False
- Returns:
- None