io.io_tes — Reader for MGS TES Data

The io.io_tes module supports reading raw Mars Global Surveyor TES data into a Pandas DataFrame.

New in version 0.1.1.

class plio.io.io_tes.Tes(input_data, var_file=None, data_set=None)[source]
spectra

A pandas panel containing n individual spectra.

Type

panel

ancillary_data

A pandas DataFrame of the parsed ancillary data (PVL label)

Type

dataframe

label

The raw PVL label object

Type

object

join()[source]

Given a list of Tes objects, merges them into a single dataframe using SPACECRAFT_CLOCK_START_COUNT (sclk_time) as the index.

Parameters

tes_data (iterable) – A Python iterable of Tes objects

Returns

  • dataframe – A pandas dataframe containing the merged data

  • outliers – A list of Tes() objects containing the tables containing no matches