chaosmagpy.data_utils.load_RC_datfile

chaosmagpy.data_utils.load_RC_datfile(filepath=None, parse_dates=None)[source]

Load RC-index data file into pandas data frame.

Parameters:
filepathstr, optional

Filepath to RC index *.dat. If None, the RC index will be fetched from spacecenter.dk.

parse_datesbool, optional

Replace index with datetime object for time-series manipulations. Default is False.

Returns:
dfdataframe

Pandas dataframe with names {‘time’, ‘RC’, ‘RC_e’, ‘RC_i’, ‘flag’}, where 'time' is given in modified Julian dates.