gdas.readGNOME.getDataFromFile

gdas.readGNOME. getDataFromFile ( fName , convert = True , dataCh = 'MagneticFields' , saneCh = 'SanityChannel' ) [source]

Gets magnetometer data from file.

fName: str

Name of file

convert: boolean (default: True)

Whether to use conversion function from file.

dataCh: string (default “MagneticFields”)

Name of data channel.

saneCh: string (default “SanityChannel”)

Name of sanity channel.

returns (data, sanity data) as astropy TimeSeries

Note: must evaluate values in ‘sanity’ (e.g., using ‘value’ attribute) to

get boolean