VERITAS-Observatory / gammapy-tools

Repository with tools for gammapy analysis
GNU General Public License v3.0
2 stars 0 forks source link

bkg generation failing at season boundaries #27

Closed samanthalwong closed 3 months ago

samanthalwong commented 3 months ago

run_details.py currently selects the season as obs_date <= tstop (where tstop is the season boundary end date - I assume the time is 00:00:00). This should be changed to remove times from the observing date so it is just comparing the date values and problems do not arise when the run starts after midnight UTC (i.e., in the evening!)

samanthalwong commented 3 months ago

fixed on rbm_analysis branch - will PR to merge with 1.0_rc soon!