Skip to content

Instantly share code, notes, and snippets.

View kelle's full-sized avatar

Kelle Cruz kelle

View GitHub Profile
@kelle
kelle / ingest_y_phot.py
Last active June 13, 2023 19:52
Ingest Photometry Psuedo-script
from scripts.ingests.ingest_utils import *
from astropy.utils.exceptions import AstropyWarning
warnings.simplefilter('ignore', category=AstropyWarning)
SAVE_DB = True # save the data files in addition to modifying the .db file
RECREATE_DB = True # recreates the .db file from the data files
db = load_simpledb('SIMPLE.db', recreatedb=RECREATE_DB)