Skip to content

formatting of telluric corrections plots in plot_settings.py

The suggested format in settings.py for gen_dic['abstell_species'] does not match the expected format during plot processing in plot_settings.py, raising a key error.

Line 934 of settings.py

    #%%%%% Species 
    #    - format : {inst : [mol1,mol2,..]}
    # with mol amongst 'H2O','O2','CH4', 'CO2' 
    gen_dic['abstell_species']={}

Line 625 of plot_settings.py (under Telluric CCF plot)

            #%%%%% Molecules to plot
            plot_settings[key_plot]['abstell_species'] = {inst:gen_dic[inst]['abstell_species'] for inst in data_dic['instrum_list']}
            

The same issue is repeated for the Telluric Properites plots.

Reversing the format on plot_settings to gen_dic['abstell_species'][inst] to match the general formatting system in settings.py resolves the key errors. However there may be more underlying issues, as my telluric CCF and properties plots are now printing as blank.