You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When APERO does the LBL, I get an error
2024-10-03 15:29:13.566|E| Cannot load table. Filename: /apero-data/test_helu/lbl/templates/Template_s1dv_GL699_sc1d_v_file_AB.fits
<class 'KeyError'>: "Extension 'SCI_TABLE' not found."
I checked:
1/ the file does exist but its three extensions have a different name. None is 'SCI_TABLE'
I have 'TELLU_TEMP_S1DV', 'TEMPLATE_TABLE' and 'PARAM_TABLE'
The LBL ends, no errors at the end of the run (nothing after the lines giving the total time of the processing)
In lbl/lblrdb, I don't have the *_drift.rdb for Gl699.
2024-10-03 15:29:10.192|I|LBLCOMPUTE_SCI[00630]| *******************************************************************************
2024-10-03 15:29:10.192|I|LBLCOMPUTE_SCI[00630]| LBL Compute
2024-10-03 15:29:10.193|I|LBLCOMPUTE_SCI[00630]| VERSION: 0.64.0
2024-10-03 15:29:10.193|I|LBLCOMPUTE_SCI[00630]| INSTRUMENT: SPIROU
2024-10-03 15:29:10.193|I|LBLCOMPUTE_SCI[00630]| *******************************************************************************
2024-10-03 15:29:10.193|I|LBLCOMPUTE_SCI[00630]|
2024-10-03 15:29:10.194|I|LBLCOMPUTE_SCI[00630]| User keyword arguments:
2024-10-03 15:29:10.194|I|LBLCOMPUTE_SCI[00630]| OBJECT_SCIENCE="GL699"
2024-10-03 15:29:10.194|I|LBLCOMPUTE_SCI[00630]| OBJECT_TEMPLATE="GL699"
2024-10-03 15:29:10.195|I|LBLCOMPUTE_SCI[00630]| DATA_TYPE="SCIENCE"
2024-10-03 15:29:10.195|I|LBLCOMPUTE_SCI[00630]| INSTRUMENT="SPIROU"
2024-10-03 15:29:10.195|I|LBLCOMPUTE_SCI[00630]| DATA_DIR="/apero-data/test_helu/lbl"
2024-10-03 15:29:10.195|I|LBLCOMPUTE_SCI[00630]| DATA_SOURCE="APERO"
2024-10-03 15:29:10.196|I|LBLCOMPUTE_SCI[00630]| SKIP_DONE="True"
2024-10-03 15:29:10.196|I|LBLCOMPUTE_SCI[00630]| ITERATION="-1"
2024-10-03 15:29:10.196|I|LBLCOMPUTE_SCI[00630]| TOTAL="-1"
2024-10-03 15:29:10.196|I|LBLCOMPUTE_SCI[00630]| PROGRAM="LBLCOMPUTE_SCI[00630]"
2024-10-03 15:29:10.196|I|LBLCOMPUTE_SCI[00630]| RESPROJ_TABLES="{'DTEMP3000': 'temperature_gradient_3000.fits', 'DTEMP3500': 'temperature_gradient_3500.fits', 'DTEMP4000': 'temperature_gradient_4000.fits', 'DTEMP4500': 'temperature_gradient_4500.fits', 'DTEMP5000': 'temperature_gradient_5000.fits', 'DTEMP5500': 'temperature_gradient_5500.fits', 'DTEMP6000': 'temperature_gradient_6000.fits'}"
2024-10-03 15:29:10.197|G|LBLCOMPUTE_SCI[00630]| Mask directory exists (Path=/apero-data/test_helu/lbl/masks)
2024-10-03 15:29:10.198|G|LBLCOMPUTE_SCI[00630]| Templates directory exists (Path=/apero-data/test_helu/lbl/templates)
2024-10-03 15:29:10.198|G|LBLCOMPUTE_SCI[00630]| Calib directory exists (Path=/apero-data/test_helu/lbl/calib)
2024-10-03 15:29:10.198|G|LBLCOMPUTE_SCI[00630]| Science directory exists (Path=/apero-data/test_helu/lbl/science)
2024-10-03 15:29:10.198|G|LBLCOMPUTE_SCI[00630]| LBL RV directory exists (Path=/apero-data/test_helu/lbl/lblrv/GL699_GL699)
2024-10-03 15:29:10.198|G|LBLCOMPUTE_SCI[00630]| LBL reftable directory exists (Path=/apero-data/test_helu/lbl/lblreftable)
2024-10-03 15:29:10.199|G|LBLCOMPUTE_SCI[00630]| LBL rdb directory exists (Path=/apero-data/test_helu/lbl/lblrdb)
2024-10-03 15:29:10.199|G|LBLCOMPUTE_SCI[00630]| Plot directory exists (Path=/apero-data/test_helu/lbl/plots)
2024-10-03 15:29:10.200|G|LBLCOMPUTE_SCI[00630]| Model directory exists (Path=/apero-data/test_helu/lbl/models)
2024-10-03 15:29:10.201|G|LBLCOMPUTE_SCI[00630]| Science object directory exists (Path=/apero-data/test_helu/lbl/science/GL699)
2024-10-03 15:29:13.503|G|LBLCOMPUTE_SCI[00630]| Loaded mask table: /apero-data/test_helu/lbl/masks/GL699_full.fits
2024-10-03 15:29:13.509|G|LBLCOMPUTE_SCI[00630]| Reading existing ref table /apero-data/test_helu/lbl/lblreftable/ref_table_GL699_full.csv
2024-10-03 15:29:13.562|G|LBLCOMPUTE_SCI[00630]| Calculating systemic velocity properties
2024-10-03 15:29:13.566|E| Cannot load table. Filename: /apero-data/test_helu/lbl/templates/Template_s1dv_GL699_sc1d_v_file_AB.fits
<class 'KeyError'>: "Extension 'SCI_TABLE' not found."
2024-10-03 15:29:13.567|G|LBLCOMPUTE_SCI[00630]| No RV table found
2024-10-03 15:29:13.586|G|LBLCOMPUTE_SCI[00630]| Loaded mask table: /apero-data/test_helu/lbl/masks/GL699_full.fits
2024-10-03 15:29:13.591|G|LBLCOMPUTE_SCI[00630]| Loading science template file /apero-data/test_helu/lbl/templates/Template_s1dv_GL699_sc1d_v_file_AB.fits
2024-10-03 15:29:13.868|G|LBLCOMPUTE_SCI[00630]| Defining all the template splines required later
2024-10-03 15:29:13.868|G|LBLCOMPUTE_SCI[00630]| Loading template file /apero-data/test_helu/lbl/templates/Template_s1dv_GL699_sc1d_v_file_AB.fits
2024-10-03 15:29:13.878|G|LBLCOMPUTE_SCI[00630]| We reject points with n_valid < 1/2 max(n_valid)
2024-10-03 15:29:14.084|G|LBLCOMPUTE_SCI[00630]| We construct the spline for the "DTEMP3000" response
2024-10-03 15:29:14.503|G|LBLCOMPUTE_SCI[00630]| We construct the spline for the "DTEMP3500" response
2024-10-03 15:29:14.868|G|LBLCOMPUTE_SCI[00630]| We construct the spline for the "DTEMP4000" response
2024-10-03 15:29:15.236|G|LBLCOMPUTE_SCI[00630]| We construct the spline for the "DTEMP4500" response
2024-10-03 15:29:15.603|G|LBLCOMPUTE_SCI[00630]| We construct the spline for the "DTEMP5000" response
2024-10-03 15:29:15.970|G|LBLCOMPUTE_SCI[00630]| We construct the spline for the "DTEMP5500" response
2024-10-03 15:29:16.342|G|LBLCOMPUTE_SCI[00630]| We construct the spline for the "DTEMP6000" response
2024-10-03 15:29:16.730|G|LBLCOMPUTE_SCI[00630]| Loading bad odometer codes from spreadsheet
2024-10-03 15:29:18.847|G|LBLCOMPUTE_SCI[00630]| 36111 bad values loaded
The text was updated successfully, but these errors were encountered:
Okay I looked in LBL, this is just because the templates created by LBL have an extra extension 'SCI_TABLE' which contains so pre-built RV information - it doesn't actual affect the run.
Really you shouldn't see the Cannot load table <class 'KeyError'> bit, but this comes as we try to get this extension and then catch the exception (although this warning is still printed).
I'll figure out a way in LBL to suppress this warning, but it is just that a warning not an error.
njcuk9999
added a commit
to njcuk9999/lbl
that referenced
this issue
Oct 4, 2024
It comes from LBL not APERO. It is an exception thrown by LBL and caught by LBL - the messaging system is handled differently in LBL. Anyway in v0.64.001 you shouldn't see this message any more just "No RV table found." the functionality hasn't change I've just suppressed the red message from LBL in this case
When APERO does the LBL, I get an error
2024-10-03 15:29:13.566|E| Cannot load table. Filename: /apero-data/test_helu/lbl/templates/Template_s1dv_GL699_sc1d_v_file_AB.fits
<class 'KeyError'>: "Extension 'SCI_TABLE' not found."
I checked:
1/ the file does exist but its three extensions have a different name. None is 'SCI_TABLE'
I have 'TELLU_TEMP_S1DV', 'TEMPLATE_TABLE' and 'PARAM_TABLE'
The LBL ends, no errors at the end of the run (nothing after the lines giving the total time of the processing)
In lbl/lblrdb, I don't have the *_drift.rdb for Gl699.
2024-10-03 15:29:10.192|I|LBLCOMPUTE_SCI[00630]| *******************************************************************************
2024-10-03 15:29:10.192|I|LBLCOMPUTE_SCI[00630]| LBL Compute
2024-10-03 15:29:10.193|I|LBLCOMPUTE_SCI[00630]| VERSION: 0.64.0
2024-10-03 15:29:10.193|I|LBLCOMPUTE_SCI[00630]| INSTRUMENT: SPIROU
2024-10-03 15:29:10.193|I|LBLCOMPUTE_SCI[00630]| *******************************************************************************
2024-10-03 15:29:10.193|I|LBLCOMPUTE_SCI[00630]|
2024-10-03 15:29:10.194|I|LBLCOMPUTE_SCI[00630]| User keyword arguments:
2024-10-03 15:29:10.194|I|LBLCOMPUTE_SCI[00630]| OBJECT_SCIENCE="GL699"
2024-10-03 15:29:10.194|I|LBLCOMPUTE_SCI[00630]| OBJECT_TEMPLATE="GL699"
2024-10-03 15:29:10.195|I|LBLCOMPUTE_SCI[00630]| DATA_TYPE="SCIENCE"
2024-10-03 15:29:10.195|I|LBLCOMPUTE_SCI[00630]| INSTRUMENT="SPIROU"
2024-10-03 15:29:10.195|I|LBLCOMPUTE_SCI[00630]| DATA_DIR="/apero-data/test_helu/lbl"
2024-10-03 15:29:10.195|I|LBLCOMPUTE_SCI[00630]| DATA_SOURCE="APERO"
2024-10-03 15:29:10.196|I|LBLCOMPUTE_SCI[00630]| SKIP_DONE="True"
2024-10-03 15:29:10.196|I|LBLCOMPUTE_SCI[00630]| ITERATION="-1"
2024-10-03 15:29:10.196|I|LBLCOMPUTE_SCI[00630]| TOTAL="-1"
2024-10-03 15:29:10.196|I|LBLCOMPUTE_SCI[00630]| PROGRAM="LBLCOMPUTE_SCI[00630]"
2024-10-03 15:29:10.196|I|LBLCOMPUTE_SCI[00630]| RESPROJ_TABLES="{'DTEMP3000': 'temperature_gradient_3000.fits', 'DTEMP3500': 'temperature_gradient_3500.fits', 'DTEMP4000': 'temperature_gradient_4000.fits', 'DTEMP4500': 'temperature_gradient_4500.fits', 'DTEMP5000': 'temperature_gradient_5000.fits', 'DTEMP5500': 'temperature_gradient_5500.fits', 'DTEMP6000': 'temperature_gradient_6000.fits'}"
2024-10-03 15:29:10.197|G|LBLCOMPUTE_SCI[00630]| Mask directory exists (Path=/apero-data/test_helu/lbl/masks)
2024-10-03 15:29:10.198|G|LBLCOMPUTE_SCI[00630]| Templates directory exists (Path=/apero-data/test_helu/lbl/templates)
2024-10-03 15:29:10.198|G|LBLCOMPUTE_SCI[00630]| Calib directory exists (Path=/apero-data/test_helu/lbl/calib)
2024-10-03 15:29:10.198|G|LBLCOMPUTE_SCI[00630]| Science directory exists (Path=/apero-data/test_helu/lbl/science)
2024-10-03 15:29:10.198|G|LBLCOMPUTE_SCI[00630]| LBL RV directory exists (Path=/apero-data/test_helu/lbl/lblrv/GL699_GL699)
2024-10-03 15:29:10.198|G|LBLCOMPUTE_SCI[00630]| LBL reftable directory exists (Path=/apero-data/test_helu/lbl/lblreftable)
2024-10-03 15:29:10.199|G|LBLCOMPUTE_SCI[00630]| LBL rdb directory exists (Path=/apero-data/test_helu/lbl/lblrdb)
2024-10-03 15:29:10.199|G|LBLCOMPUTE_SCI[00630]| Plot directory exists (Path=/apero-data/test_helu/lbl/plots)
2024-10-03 15:29:10.200|G|LBLCOMPUTE_SCI[00630]| Model directory exists (Path=/apero-data/test_helu/lbl/models)
2024-10-03 15:29:10.201|G|LBLCOMPUTE_SCI[00630]| Science object directory exists (Path=/apero-data/test_helu/lbl/science/GL699)
2024-10-03 15:29:13.503|G|LBLCOMPUTE_SCI[00630]| Loaded mask table: /apero-data/test_helu/lbl/masks/GL699_full.fits
2024-10-03 15:29:13.509|G|LBLCOMPUTE_SCI[00630]| Reading existing ref table /apero-data/test_helu/lbl/lblreftable/ref_table_GL699_full.csv
2024-10-03 15:29:13.562|G|LBLCOMPUTE_SCI[00630]| Calculating systemic velocity properties
2024-10-03 15:29:13.566|E| Cannot load table. Filename: /apero-data/test_helu/lbl/templates/Template_s1dv_GL699_sc1d_v_file_AB.fits
<class 'KeyError'>: "Extension 'SCI_TABLE' not found."
2024-10-03 15:29:13.567|G|LBLCOMPUTE_SCI[00630]| No RV table found
2024-10-03 15:29:13.586|G|LBLCOMPUTE_SCI[00630]| Loaded mask table: /apero-data/test_helu/lbl/masks/GL699_full.fits
2024-10-03 15:29:13.591|G|LBLCOMPUTE_SCI[00630]| Loading science template file /apero-data/test_helu/lbl/templates/Template_s1dv_GL699_sc1d_v_file_AB.fits
2024-10-03 15:29:13.868|G|LBLCOMPUTE_SCI[00630]| Defining all the template splines required later
2024-10-03 15:29:13.868|G|LBLCOMPUTE_SCI[00630]| Loading template file /apero-data/test_helu/lbl/templates/Template_s1dv_GL699_sc1d_v_file_AB.fits
2024-10-03 15:29:13.878|G|LBLCOMPUTE_SCI[00630]| We reject points with n_valid < 1/2 max(n_valid)
2024-10-03 15:29:14.084|G|LBLCOMPUTE_SCI[00630]| We construct the spline for the "DTEMP3000" response
2024-10-03 15:29:14.503|G|LBLCOMPUTE_SCI[00630]| We construct the spline for the "DTEMP3500" response
2024-10-03 15:29:14.868|G|LBLCOMPUTE_SCI[00630]| We construct the spline for the "DTEMP4000" response
2024-10-03 15:29:15.236|G|LBLCOMPUTE_SCI[00630]| We construct the spline for the "DTEMP4500" response
2024-10-03 15:29:15.603|G|LBLCOMPUTE_SCI[00630]| We construct the spline for the "DTEMP5000" response
2024-10-03 15:29:15.970|G|LBLCOMPUTE_SCI[00630]| We construct the spline for the "DTEMP5500" response
2024-10-03 15:29:16.342|G|LBLCOMPUTE_SCI[00630]| We construct the spline for the "DTEMP6000" response
2024-10-03 15:29:16.730|G|LBLCOMPUTE_SCI[00630]| Loading bad odometer codes from spreadsheet
2024-10-03 15:29:18.847|G|LBLCOMPUTE_SCI[00630]| 36111 bad values loaded
The text was updated successfully, but these errors were encountered: