spacetelescope / acsql

The Advanced Camera for Surveys Quicklook Project
BSD 3-Clause "New" or "Revised" License
6 stars 1 forks source link

Increase precision on database columns with units of MJD #26

Closed bourque closed 7 years ago

bourque commented 7 years ago

Currently the database only stores up to the first decimal of MJD values (e.g. 52425.3), which is not useful at all.

bourque commented 7 years ago

This issue was easily solved by using sqlalchemy.types.Float(precision=32) instead of sqlalchemy.Float().