Open
Conversation
This commit modifies the mapper file. It incorporates changes made by Andy B on his fork as well as a few changes added by Jim C on his fork.
I added the code, input files, and resulting camera registry for the DECam. You can load the camera by doing: >>> from lsst.obs.decam import DecamMapper >>> mapper = DecamMapper() >>> mapper.camera chipcenters.txt has the bounding boxes of the chips and a rotation in the plane of the focal plane. segmentfile.txt has the amp information. This is trivial until we can look at DECam raw data.
I removed the fz extension from the data files. I also overrode the getExtensionName method because the version in pipe_tasks doesn't work with these data.
Instead of only storing information in the repository on the instcal, dqmask, and wtmap files that correspond to a visit, we instead define data products and write/copy/symlink the input files to be the destination data product. This allows the butler to recognize that datasetExists.
Using the mapper to define storage templates for instcal, dqmask, and wtmap, and a bypass_raw method to access each one of these in turn to create the ExposureF corresponding to the visit,ccdnum combination.
Fixed the method that turns a dataId to return the side and ccd as the name. This assumes that the dataId will contain visit and ccdnum. Added the script to run the ingestion task.
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.
This pull request is to merge to master this working implementation of DecamInstcalMapper, and the camera geom defined herein.