halodrops.helper.paths#
Module Contents#
Classes#
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:strMain data directoryflight_id:strIndividual flight directory nameplatform_id:strPlatform nameAttributes
flight_idpathPath to flight data directoryflight_idName of flight data directoryl1dirPath 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
strPath to quicklooks directory
- populate_sonde_instances() Dict#
Returns a dictionary of
Sondeclass instances for all A-files found inflight_idpathand also sets the dictionary as value ofSondesattribute