extract_data

Data_Reduction.OldGAVRT.extract_data(datatype, wb, start, stop, meta_column, files)

Extract map from the data files and create/fill a metadata worksheet

First the first t-file is loaded to get the start and stop time. These are used to create the meta-data sheet name. If the sheet exists it is loaded, else it is created. Creation begins with the copying the session meta-data sheet. The ‘create_metadata_sheet’ adds additional empty columns. Then for each row the appropriate t-file is read and the meta-data are obtained.

:param wb : observation spreadsheet :type wb : workbook instance

:param start : datetime of first data point :type start : mpl datenum

:param stop : datetime of last data point :type stop : mpl datenum

Returns

metadata worksheet instance