Configuration
The config/config.toml file configures all steps of the pipeline. You can use the config/config.template.toml file as a template to create your own configuration file. The only parts in this file that are required are the version number, the metadata and data sections. The ggg_profiles_downloader, retrieval, bundle_exports and geoms_exports sections can be omitted if you don’t use these parts of the pipeline.
The next sections will describe how to define the EM27 metadata, the data (input and output file paths), and how to use the ggg_profiles_downloader, retrieval, bundle_exports and geoms_exports features.
Template
Section titled “Template”version = "1.11"
# METADATA
[metadata]source = "local"
# DATA
[data.atmospheric_profiles]path = "path-to-atmospheric-profiles"
[data.ground_pressure]path = "path-to-ground-pressure-data"file_regex = "^ground-pressure-$(SENSOR_ID)-$(YYYY)-$(MM)-$(DD).csv$"separator = ","pressure_column = "pressure"pressure_column_format = "hPa"date_column = "UTCdate_____"date_column_format = "%Y-%m-%d"time_column = "UTCtime_____"time_column_format = "%H:%M:%S"
[data.interferograms]path = "path-to-interferogram-directory"ifg_file_regex = "^$(SENSOR_ID)$(DATE).*\\.\\d+$"
[data.results]path = "path-to-results-directory"
# GGG PROFILES DOWNLOADER
[ggg_profiles_downloader.server]email = "...@..."max_parallel_requests = 25
[ggg_profiles_downloader.scope]from_date = "2022-01-01"to_date = "2022-01-05"models = [ "GGG2014", "GGG2020" ]force_download_locations = [ "TUM_I" ]
[[ggg_profiles_downloader.ggg2020_standard_sites]]identifier = "mu"lat = 48.151lon = 11.569from_date = "2019-01-01"to_date = "2099-12-31"
# RETRIEVAL
[retrieval.general]max_process_count = 9queue_verbosity = "compact"
[retrieval.jobs.0]retrieval_algorithm = "proffast-1.0"atmospheric_profile_model = "GGG2014"sensor_ids = [ "ma", "mb", "mc", "md", "me" ]from_date = "2019-01-01"to_date = "2022-12-31"store_binary_spectra = truedc_min_threshold = 0.05dc_var_threshold = 0.1use_local_pressure_in_pcxs = trueuse_ifg_corruption_filter = false
[retrieval.jobs.0.custom_ils.ma]channel1_me = 0.9892channel1_pe = -0.001082channel2_me = 0.9892channel2_pe = -0.001082
[retrieval.jobs.0.custom_ils.mb]channel1_me = 0.9893channel1_pe = -0.001083channel2_me = 0.9893channel2_pe = -0.001083
[retrieval.jobs.1]retrieval_algorithm = "proffast-2.4"atmospheric_profile_model = "GGG2020"sensor_ids = [ "ma", "mb", "mc", "md", "me" ]from_date = "2019-01-01"to_date = "2099-12-31"
# BUNDLE GENERATOR
[[bundle_exports]]dst_dir = "directory-to-write-the-bundles-to"output_formats = [ "csv", "parquet" ]from_datetime = "2022-01-01T00:00:00Z"to_datetime = "2022-12-31T23:59:59Z"retrieval_algorithms = [ "proffast-1.0", "proffast-2.4" ]atmospheric_profile_models = [ "GGG2014", "GGG2020" ]sensor_ids = [ "ma", "mb", "mc", "md", "me" ]parse_dc_timeseries = trueparse_retrieval_diagnostics = true
# GEOMS GENERATOR
[[geoms_exports]]sensor_ids = [ "ma", "mb", "mc", "md", "me" ]retrieval_algorithms = [ "proffast-1.0", "proffast-2.4" ]atmospheric_profile_models = [ "GGG2014", "GGG2020" ]from_datetime = "2022-01-01T00:00:00Z"to_datetime = "2022-12-31T23:59:59Z"parse_dc_timeseries = falsemax_sza = 80min_xair = 0.98max_xair = 1.02conflict_mode = "replace"Validation
Section titled “Validation”Whenever calling the pipelines CLI, it will validate the integrity of your local config.toml file and output a message if your system is not correctly configured:
