dirac-institute / trailblazer

An open data repository for astronomical data products affected by satellites
MIT License
8 stars 2 forks source link

Add Whipple Observatory header standardizer. #56

Closed DinoBektesevic closed 1 year ago

DinoBektesevic commented 1 year ago

The main problem with Whipple observatory files is that they are smaller than 1MB, which made Django never write them to temporary file, which made AstroPy fail to open them. Second issue was that I didn't account for lower/uppercase file extensions.

I went ahead and added a simple header standardizer for Whipple. It does not cover all of the telescopes at that site. This should be fixed/expanded on in the future.

An erroneous commit https://github.com/dirac-institute/trailblazer/commit/e960757c7f2c61f97924c24c911c16c4bf93392a commented out the default ASTROMETRY.NET setting. This wasn't caught because the deployed website settings file diverged and didn't have this issue and nobody manually tested if upload to astrometry.net worked.