Skip to content

Conversation

@moira-andrews
Copy link
Contributor

Made changes to LCOGTingest.py and ingestall.py to include automatic ingestion of Banzai floyds 1d spectrum files from the archive. The changes include adding frames with basename including e91-1d on top of the e00 files needed for IRAF reduction. The e91-1d Banzai files are also ingested into 2 tables: spec and speclcoraw. The e00 files for IRAF reduction are only ingested into speclcoraw. speclocraw is 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 into speclcoraw.

The Banzai files are additionally ingested into the spec table to bypass the archivingspec.py function that will move the IRAF reduced spectra into the spec table 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 the spec and speclcoraw tables.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant