Skip to content

five plots no longer working

I haven't done much to try to track down the source of these issues, but wanted to register them. These plots all were working with the same configuration of the settings file as of version 8f5aff87 on 12 Aug, but are not working now.

+ Individual disk-integrated profiles (plot_dic['DI_prof']) - worked prior to attempting a fit of the profiles, generating a key error afterward

Traceback (most recent call last): File "/data/home/apx061/.conda/envs/antaress_new/bin/antaress", line 7, in <module> sys.exit(ANTARESS_launcher()) ^^^^^^^^^^^^^^^^^^^ File "/data/home/apx061/ANTARESS/antaress/src/antaress/ANTARESS_launch/ANTARESS_launcher.py", line 138, in ANTARESS_launcher ANTARESS_main(*input_dics,system_params,nbook_dic,custom_plot_settings) File "/data/home/apx061/ANTARESS/antaress/src/antaress/ANTARESS_process/ANTARESS_main.py", line 315, in ANTARESS_main ANTARESS_plot_functions(system_param,plot_dic,data_dic,gen_dic,coord_dic,theo_dic,data_prop,glob_fit_dic,mock_dic,input_dic,custom_plot_settings) File "/data/home/apx061/ANTARESS/antaress/src/antaress/ANTARESS_plots/ANTARESS_plots_all.py", line 2112, in ANTARESS_plot_functions sub_plot_prof(plot_settings[key_plot],key_plot,plot_dic[key_plot],data_dic,gen_dic,glob_fit_dic,data_prop,coord_dic,plot_dic) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/home/apx061/ANTARESS/antaress/src/antaress/ANTARESS_plots/ANTARESS_plots_all.py", line 6023, in sub_plot_prof cond_cont_exp_raw[idx_trim_kept] = mod_prop_exp['cond_def_cont'] #trimmed and continuum condition in global tables ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ KeyError: 'cond_def_cont'

+ Range of planet-occulted regions (plot_dic['plocc_ranges'])

Traceback (most recent call last): File "/data/home/apx061/.conda/envs/antaress_new/bin/antaress", line 7, in sys.exit(ANTARESS_launcher()) ^^^^^^^^^^^^^^^^^^^ File "/data/home/apx061/ANTARESS/antaress/src/antaress/ANTARESS_launch/ANTARESS_launcher.py", line 138, in ANTARESS_launcher ANTARESS_main(*input_dics,system_params,nbook_dic,custom_plot_settings) File "/data/home/apx061/ANTARESS/antaress/src/antaress/ANTARESS_process/ANTARESS_main.py", line 315, in ANTARESS_main ANTARESS_plot_functions(system_param,plot_dic,data_dic,gen_dic,coord_dic,theo_dic,data_prop,glob_fit_dic,mock_dic,input_dic,custom_plot_settings) File "/data/home/apx061/ANTARESS/antaress/src/antaress/ANTARESS_plots/ANTARESS_plots_all.py", line 3745, in ANTARESS_plot_functions transit_prop_nom = dataload_npz(gen_dic['save_data_dir']+'Introrig_prop/PlOcc_Prop_'+inst+'_'+vis)['achrom'][pl_ref]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^ KeyError: '{planet name}'

+ Input light curves (plot_dic['input_LC'])

Stop : ERROR : file "/data/scratch/apx061/three_night_runs/star/starb_Saved_data/Processed_data/ESPRESSO_20240130_add.npz" does not exist" Traceback (most recent call last): File "/data/home/apx061/.conda/envs/antaress_new/bin/antaress", line 7, in sys.exit(ANTARESS_launcher()) ^^^^^^^^^^^^^^^^^^^ File "/data/home/apx061/ANTARESS/antaress/src/antaress/ANTARESS_launch/ANTARESS_launcher.py", line 138, in ANTARESS_launcher ANTARESS_main(*input_dics,system_params,nbook_dic,custom_plot_settings) File "/data/home/apx061/ANTARESS/antaress/src/antaress/ANTARESS_process/ANTARESS_main.py", line 315, in ANTARESS_main ANTARESS_plot_functions(system_param,plot_dic,data_dic,gen_dic,coord_dic,theo_dic,data_prop,glob_fit_dic,mock_dic,input_dic,custom_plot_settings) File "/data/home/apx061/ANTARESS/antaress/src/antaress/ANTARESS_plots/ANTARESS_plots_all.py", line 2775, in ANTARESS_plot_functions data_upload = dataload_npz(gen_dic['save_data_dir']+'Processed_data/'+inst+'_'+vis+'_add')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/home/apx061/ANTARESS/antaress/src/antaress/ANTARESS_general/utils.py", line 674, in dataload_npz if len(data_path)==0:stop('ERROR : file "'+path_nonpz(path)+'.npz'+'" does not exist"') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/home/apx061/TIC455000299/ANTARESS/antaress/src/antaress/ANTARESS_general/utils.py", line 146, in stop raise Exception() Exception

+ 1D PDFs of disk-integrated properties from MCMC fit (plot_dic['prop_DI_PDFs'])

Traceback (most recent call last): File "/data/home/apx061/.conda/envs/antaress_new/bin/antaress", line 7, in sys.exit(ANTARESS_launcher()) ^^^^^^^^^^^^^^^^^^^ File "/data/home/apx061/TIC455000299/ANTARESS/antaress/src/antaress/ANTARESS_launch/ANTARESS_launcher.py", line 138, in ANTARESS_launcher ANTARESS_main(*input_dics,system_params,nbook_dic,custom_plot_settings) File "/data/home/apx061/TIC455000299/ANTARESS/antaress/src/antaress/ANTARESS_process/ANTARESS_main.py", line 315, in ANTARESS_main ANTARESS_plot_functions(system_param,plot_dic,data_dic,gen_dic,coord_dic,theo_dic,data_prop,glob_fit_dic,mock_dic,input_dic,custom_plot_settings) File "/data/home/apx061/TIC455000299/ANTARESS/antaress/src/antaress/ANTARESS_plots/ANTARESS_plots_all.py", line 3837, in ANTARESS_plot_functions idx_in_plot=[iexp for iexp in range(data_fit['n_exp']) if ((iexp not in plot_settings[key_plot]['idx_noplot'][inst][vis]) and (iexp in data_fit['idx_def'])) ] ~~~~~~~~^^^^^^^^^ KeyError: 'n_exp'

+ 2D map : disk-integrated stellar profiles (plot_dic['map_DI_prof'])

"/data/scratch/apx061/three_night_runs/star/starb_Saved_data/Scaled_data/ESPRESSO_20240130_add.npz" does not exist" Traceback (most recent call last): File "/data/home/apx061/.conda/envs/antaress_new/bin/antaress", line 7, in sys.exit(ANTARESS_launcher()) ^^^^^^^^^^^^^^^^^^^ File "/data/home/apx061/ANTARESS/antaress/src/antaress/ANTARESS_launch/ANTARESS_launcher.py", line 138, in ANTARESS_launcher ANTARESS_main(*input_dics,system_params,nbook_dic,custom_plot_settings) File "/data/home/apx061/ANTARESS/antaress/src/antaress/ANTARESS_process/ANTARESS_main.py", line 315, in ANTARESS_main ANTARESS_plot_functions(system_param,plot_dic,data_dic,gen_dic,coord_dic,theo_dic,data_prop,glob_fit_dic,mock_dic,input_dic,custom_plot_settings) File "/data/home/apx061/ANTARESS/antaress/src/antaress/ANTARESS_plots/ANTARESS_plots_all.py", line 2019, in ANTARESS_plot_functions sub_2D_map(key_plot,plot_dic[key_plot],plot_settings[key_plot],data_dic,gen_dic,glob_fit_dic,system_param,theo_dic,coord_dic,contact_phases,plot_dic) File "/data/home/apx061/ANTARESS/antaress/src/antaress/ANTARESS_plots/ANTARESS_plots_all.py", line 7677, in sub_2D_map pl_ref,txt_conv,iexp2plot,iexp_orig,prof_fit_vis,fit_results,data_path_all,rest_frame,data_path_dic,nexp_plot,inout_flag,path_loc,iexp_mast_list,nord_data,nspec_data,data_bin,order_list,nord_proc,title_name,x_range_loc,x_title = sub_plot_prof_dir(inst,vis,plot_options,data_mode,'Map',add_txt_path,plot_mod,txt_aligned,data_format,data_type_gen,data_dic,gen_dic,glob_fit_dic,title_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/home/apx061/ANTARESS/antaress/src/antaress/ANTARESS_plots/ANTARESS_plots_all.py", line 5724, in sub_plot_prof_dir rest_frame = dataload_npz(data_path+'add')['rest_frame'] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/home/apx061/ANTARESS/antaress/src/antaress/ANTARESS_general/utils.py", line 674, in dataload_npz if len(data_path)==0:stop('ERROR : file "'+path_nonpz(path)+'.npz'+'" does not exist"') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/home/apx061/ANTARESS/antaress/src/antaress/ANTARESS_general/utils.py", line 146, in stop raise Exception() Exception