njcuk9999 / apero-drs

A PipelinE to Reduce Observations - The DRS for SPIRou (CFHT)
MIT License
12 stars 0 forks source link

Apero_lbl_compute/mask/compile error, even after re-run of apero_mk_template #753

Open lauriedauplaise opened 5 months ago

lauriedauplaise commented 5 months ago

I re-ran the apero_mk_template code and QC is still failing for TOI-3397 (2024-03-07):

23:36:38.848-**|FTTEMP1[00207]| Calculated BERV coverage: 4.775406331698649 km/s 23:36:38.899- |FTTEMP1[00207]| E2DS low f filter iteration 1 of 5 23:36:39.207- |FTTEMP1[00207]| E2DS low f filter iteration 2 of 5 23:36:39.507- |FTTEMP1[00207]| E2DS low f filter iteration 3 of 5 23:36:39.803- |FTTEMP1[00207]| E2DS low f filter iteration 4 of 5 23:36:40.096- |FTTEMP1[00207]| E2DS low f filter iteration 5 of 5 23:36:40.407-@!|FTTEMP1[00207]| W[40-005-10002]: QUALITY CONTROL FAILED:Insufficient BERV coverage to build 23:36:40.407-@!|FTTEMP1[00207]| template. 23:36:40.408-@!|FTTEMP1[00207]| BERV coverage was: 4.775406331698649 km/s required > 8.0 km/s

lauriedauplaise commented 5 months ago

Same thing again for GJ3693 (2024-03-08), the errors are for the three scripts apero_lbl_compute/mask/compile. Here is the error after re-running the apero_mk_template:

15:32:08.106- |FTTEMP1[00325]|A[40-019-00033]: Reading file: /cosmos99/nirps/apero-data/nirps_he_online/tellu/NIRPS_2024-03-09T05_55_44_531_pp_e2dsff_tcorr_A.fits 15:32:08.156- |FTTEMP1[00325]|A[40-016-00035]: Identified object as GJ3693 with BERV = 4.0157 km/s 15:32:08.176- |FTTEMP1[00325]|A[40-017-00036]: Wavelength solution read from infile. 15:32:08.177- |FTTEMP1[00325]| Wave file = EF250B7287_pp_e2dsff_A_wave_night_A.fits 15:32:08.387-|FTTEMP1[00325]|I[40-019-00051]: Calculated BERV coverage: 4.893203766774332 km/s 15:32:08.429- |FTTEMP1[00325]|A[40-019-00034]: E2DS low f filter iteration 1 of 5 15:32:08.664- |FTTEMP1[00325]|A[40-019-00034]: E2DS low f filter iteration 2 of 5 15:32:08.881- |FTTEMP1[00325]|A[40-019-00034]: E2DS low f filter iteration 3 of 5 15:32:09.087- |FTTEMP1[00325]|A[40-019-00034]: E2DS low f filter iteration 4 of 5 15:32:09.298- |FTTEMP1[00325]|A[40-019-00034]: E2DS low f filter iteration 5 of 5 15:32:09.512-@!|FTTEMP1[00325]|W[40-005-10002]: QUALITY CONTROL FAILED:Insufficient BERV coverage to build template. 15:32:09.512-@!|FTTEMP1[00325]| BERV coverage was: 4.893203766774332 km/s required > 8.0 km/s 15:32:10.353-|FTTEMP1[00325]| 15:32:10.362-|FTTEMP1[00325]|I[40-003-00001]: Recipe apero_mk_template_nirps_he has been successfully completed 15:32:10.370-|FTTEMP1[00325]|

njcuk9999 commented 5 months ago

Yer os this could mean two things:

  1. There has not been enough observations yet [in which case we ignore this error]
  2. Many files failed reduction (to the telluric correction point)

To check which one it is you can look to see how many raw files there are compared to how many tcorr files there are (probably from ARI) and also check what the distribution in time across a year there is for those that passed all QC and were reduced to the end of the "tcorr" part of the telluric correct.