get_config¶
-
process_ais_data.
get_config
(config_file)¶ Helper function to get dictionary of script parameters.
Mostly boilerplate code to read in
config_file
as a.yaml
file that specifies important script parameters. Upon success, this config dictionary is returned to main to be unpacked.- Parameters
config_file (str) – The name of the
.yaml
file containing the script configuration parameters, located in the directory the script is run.- Returns
The script configuration parameters.
- Return type
dict