SIMPLE-AstroDB / SIMPLE-db

BSD 3-Clause "New" or "Revised" License
11 stars 22 forks source link

Invalid spectral types #299

Closed dr-rodriguez closed 2 months ago

dr-rodriguez commented 2 years ago

The spectral_type_string in the database is meant to be 10 characters, however, some entries (eg, WISEA J130729.56-055815.4) contain values like L8 (sl. blue) which are invalid. While SQLite is lazy about enforcing character restrictions (among other things), other database architectures like Postgres fail. We need to either expand the field to hold more characters, or move the (sl. blue) part to the comment field.

kelle commented 2 months ago

Done in #539 .