Swift-BAT/NITRATES

Identifying when there's no good data during the signal time window

Closed this issue · 8 comments

jjd330 commented

Currently NITRATES only identifies when there's no good data at all in the file (usually because of slewing). If there's not enough good data for the bkg, the bkg job will just fail and if there's no good time during the signal time window (+/- 20 s) then do_full_rates will just fail. These should be identified by do_manage and reported to echo

@jjd330
If do_manage isn't launching if time_seeds.csv isn't created, then i can't manage this from inside do_manage.
should i report from do_full_rates?
thoughts?

jjd330 commented

Yeah do it in do_full_rates then.

should it just be here in this else clause?

jjd330 commented

THat would be good to report that there's no rate seeds, but it won't catch errors or if there's no signal window time. Here is where the error happens and the script dies

. You can add a try statement around that and report it there or I can try to handle this better (try to have it fail less often and just report if there's no signal window data instead of just trying and failing)

Should i report that there's no rates seeds? or will this be caught elsewhere?

jjd330 commented

Probably a good idea to report it. Right now nitrates just goes to submit split rates jobs that fail because there's no seeds to process

hmm, how should EchoLocation display this to the user?
I haven't considered this before, nitrates 'runs' but there are just no time seeds...

jjd330 commented

Not sure. I guess the most important thing is that it gets marked complete.