Full List

faampy.utils

class faampy.utils.file_info.File_Info(filename)[source]
Holds all file specific information for a FAAM data file:
  • filename
  • path
  • Flight Number (fid)
  • date
  • revision
  • datatype
class faampy.utils.file_list.File_List(*args)[source]

A list of File_Info objects. The list can be sorted and filtered which can be useful for batch processing.

For example it is possible to (i) get all DECADES rawdlu and flight constant files from a path, (ii) filter those for the latest revisions and reprocess them.

filter_by_data_type(dtype)[source]

Filtering by data type.

filter_latest_revision()[source]

Compresses the list and keeps only the latest revision for a FID.

get_filenames()[source]

Returns the file names for each entry.