Update the LCOGTingest.py and ingestall.py to include Banzai floyds #147
Open
moira-andrews wants to merge 5 commits intoLCOGT:masterfrom
Open
Update the LCOGTingest.py and ingestall.py to include Banzai floyds #147moira-andrews wants to merge 5 commits intoLCOGT:masterfrom
moira-andrews wants to merge 5 commits intoLCOGT:masterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Made changes to
LCOGTingest.pyandingestall.pyto include automatic ingestion of Banzai floyds 1d spectrum files from the archive. The changes include adding frames with basename includinge91-1don top of the e00 files needed for IRAF reduction. Thee91-1dBanzai files are also ingested into 2 tables:specandspeclcoraw. The e00 files for IRAF reduction are only ingested intospeclcoraw.speclocrawis where the snex observing script checks for a successful spectrum observation, so this is to avoid observations being triggered unnecessarily. In the future when the IRAF floyds pipeline is retired, the e00 files will no longer need to be ingested or be ingested differently intospeclcoraw.The Banzai files are additionally ingested into the
spectable to bypass thearchivingspec.pyfunction that will move the IRAF reduced spectra into thespectable at the end of reduction. Future implementation of Banzai reduction and LCO archival version history tracking with the floyds inbox page would be implemented here.This can be tested as running
ingestall.py [date]-[date]with a given date range. The Banzai spectra should be visible in the database in thespecandspeclcorawtables.This commit has not been tested in its entirety. It has been tested locally with the photometry and standards ingested commented out. I do not anticipate errors arising from these lines in the current state.