hamsci_psws.goes.read_goes¶
- hamsci_psws.goes.read_goes(sTime, eTime=None, sat_nr=15, data_dir='data_goes')[source]¶
Download GOES X-Ray Flux data from the NOAA FTP Site and return a dictionary containing the metadata and a dataframe.
- Parameters
sTime (datetime.datetime) – Starting datetime for data.
eTime (Optional[datetime.datetime]) – Ending datetime for data. If None, eTime will be set to sTime + 1 day.
sat_nr (Optional[int]) – GOES Satellite number. Defaults to 15. A list of GOES satellites and their operational time periods is available at https://www.noaasis.noaa.gov/GOES/goes_overview.html.
- Return type
Dictionary containing metadata, pandas dataframe with GOES data.
Notes
Data is downloaded from ftp://satdat.ngdc.noaa.gov/sem/goes/data/avg/2014/08/goes15/netcdf/
Currently, 1-m averaged x-ray spectrum in two bands (0.5-4.0 A and 1.0-8.0 A).
Example
goes_data = read_goes(datetime.datetime(2014,6,21))
written by N.A. Frissell, 6 Sept 2014