njcuk9999 / apero-utils

APERO affiliated utilities and tools
MIT License
3 stars 3 forks source link

missing reduced spectrum of BDP07_2692=TIC379137299 #230

Closed elisadelgado closed 6 months ago

elisadelgado commented 7 months ago

Hello There is a file missing for the star BDP07_2692 NIRPS.2024-03-21T07:26:39.321 It's strange, because in the object table there appears that 3 spectra have been observed and processed (last one on 21st March), but then in the star summary table with the S/N of the exposures, there are only 2 exposures http://apero.exoplanets.ca/ari/nirps/nirps_ha_online_udem/object_pages/BDP07_2692/BDP07_2692.html#nirps-ha-online-udem-object-page-bdp07-2692 Also, I noticed that in dace, for that day there is the HARPS spectrum but not the NIRPS one. thanks, Elisa

njcuk9999 commented 7 months ago

Okay, that is weird, I do see at least on disk we have all the files for NIRPS_2024-03-21T07_26_39_321, but you are correct that the object page itself doesn't seem to see it.

I'm not sure why this is! ARI will run again today so we will see if it corrects itself.

If it doesn't I'll try to figure out what's going on.

You could try requesting the data using the http://apero.exoplanets.ca/requests/ it should work (unless it is affected by the same problem). The request form on the object page (even though they only show two observations) should give you all three observations if you don't put a start_date and end_date!

Let me know if the request works that will at least narrow down my search for a problem.

njcuk9999 commented 7 months ago

So the request seemed to give 3 files. Must be something in ARI - not sure what could cause this though.

njcuk9999 commented 7 months ago

So this may be related to a missing header key in the preprocessed files (due to a small update I did). This header key is only used in ARI so ARI was crashing -- I'll fix this and figure a way to report this kind of error in ARI.

So its probably the same for all object pages on/after 2024-03-20 so I'm glad you told us!

njcuk9999 commented 7 months ago

Note for anyone else reading this, this only affects HA and now I've redone apero_preprocessing on the 20th and 21st so they should now work.

I'm now working on making these errors clearer in ARI - so future crashes on the object page creation do not go unnoticed.