halodrops.helper.paths#

Module Contents#

Classes#

Platform

Deriving flight paths from the provided platform directory

Flight

Deriving sonde paths from the provided directory

Data#

API#

halodrops.helper.paths.module_logger#

‘getLogger(…)’

class halodrops.helper.paths.Platform(data_directory, platform_id, platform_directory_name=None, path_structure=path_to_flight_ids)#

Deriving flight paths from the provided platform directory

The structure of the input should be defined in the config file as described in the example config.

Initialization

get_flight_ids()#

Returns a list of flight IDs for the given platform and level directory

class halodrops.helper.paths.Flight(data_directory, flight_id, platform_id, path_structure=path_to_l0_files)#

Deriving sonde paths from the provided directory

The structure of the input should be defined in the config file as described in the example config.

Initialization

Creates an instance of Paths object for a given flight

Parameters

data_directory : str Main data directory

flight_id : str Individual flight directory name

platform_id : str Platform name

Attributes

flight_idpath Path to flight data directory

flight_id Name of flight data directory

l1dir Path to Level-1 data directory

get_all_afiles()#

Returns a list of paths to all A-files for the given directory and also sets it as attribute named ‘afiles_list’

quicklooks_path()#

Path to quicklooks directory

Function checks for an existing quicklooks directory, and if not found, creates one.

Returns

str Path to quicklooks directory

populate_sonde_instances() Dict#

Returns a dictionary of Sonde class instances for all A-files found in flight_idpath and also sets the dictionary as value of Sondes attribute