swarmpal.cli.commands#
Functions#
|
Helper to update start and end times in a dataset configuration. |
|
Helper function to read and validate YAML config files |
|
|
List names of available spacecraft |
|
|
Execute FAC single-satellite processor |
|
UTC of last available data for a collection, e.g. SW_FAST_MAGA_LR_1B |
|
|
|
Fetch data described in yaml file CONFIG and save the resulting DataTree in NetCDF file OUT |
|
Run SwarmPAL in batch mode. The datasets and processes need to be specified in YAML file and |
|
Create a quicklook plot if possible |
Module Contents#
- swarmpal.cli.commands._update_times(start_time, end_time, dataset_config)[source]#
Helper to update start and end times in a dataset configuration.
- swarmpal.cli.commands._read_config(filename, times)[source]#
Helper function to read and validate YAML config files
- swarmpal.cli.commands.cli()#
- swarmpal.cli.commands.spacecraft()#
List names of available spacecraft
- swarmpal.cli.commands.fac_single_sat(spacecraft: str, time_start: str, time_end: str, grade: str, to_cdf_file: str)#
Execute FAC single-satellite processor
- swarmpal.cli.commands.last_available_time(collection)#
UTC of last available data for a collection, e.g. SW_FAST_MAGA_LR_1B
- swarmpal.cli.commands.fetch_data(time, overwrite, config: click.File, out: click.Path)#
Fetch data described in yaml file CONFIG and save the resulting DataTree in NetCDF file OUT
- swarmpal.cli.commands.batch(time, overwrite, config: click.File, out: click.Path)[source]#
Run SwarmPAL in batch mode. The datasets and processes need to be specified in YAML file and passed as the first CONFIG argument. The results are written to NetCDF files specified by OUT.
- swarmpal.cli.commands.quicklook(overwrite, file: click.File, out: click.Path)#
Create a quicklook plot if possible