nu-radio / NuRadioReco

reconstruction framework for radio detectors of high-energy neutrinos
GNU General Public License v3.0
5 stars 3 forks source link

Convert datetime #214

Closed christophwelling closed 4 years ago

christophwelling commented 4 years ago

The way datetime was converted to astropy time breaks with astropy version 4.0. This one works for both 4.0 and 3.0.

christophwelling commented 4 years ago

Astropy 4.0 is what made this change necessary. Astropy 3.0 works fine. I agree that it is ugly, but I don't know a more elegant way to fix this. The best solution would be to strongly discourage using datetime, but even then we still need this to read old files