-
Notifications
You must be signed in to change notification settings - Fork 0
DM-42726: Implement upload.py LSSTComCamSim for dev test #131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ec62316
to
41480d4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Mostly just clarification requests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess I'd worry a little about whether any variations in make_hsc_rc2_export
and make_template_export
were captured, but great idea!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly I'm a little worried about that too. This probably should have been done before DM-41241 and we could have felt more reassured.
class Instrument: | ||
n_snaps: int | ||
n_detectors: int | ||
sal_index: int = 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, given that (for better or worse) we're already assuming this in fan-out service.
raw_pool : mapping [`str`, mapping [`int`, mapping [`activator.FannedOutVisit`, `s3.ObjectSummary`]]] | ||
Available raws as a mapping from group IDs to a mapping of snap ID. | ||
The value of the innermost mapping is the observation metadata for | ||
each detector, and a Blob representing the image taken in that | ||
detector-snap. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We really ought to get a proper class for this! 😂 Maybe I'll find an opportunity...
Oh, one question: does this PR make #132 obsolete? |
Yes. #132 will be discarded. |
c9e5168
to
0fb3f70
Compare
The extra fixup for HSC-RC2 isn't necessary and they can just be exported/imported.
Instead of hard-coding the selection in the script, move them to a yaml file so the script can be used for other exports more easily.
There were data-specific scripts for making the export yaml. They can now be different config files but used with one same generic script.
This exports an early version of the simulated data from /repo/ops-rehearsal-3-prep to prompt-processing's dev central repo.
Previuosly only the single-detector scenario, i.e. LATISS, was considered for LSST cameras. By using _add_to_raw_pool, multiple detectors per LSST exposure are supported in the upload test for other LSST cameras.
Currently images coming from ComCam DAQ has null FILTBAND. The camera team plans to fix it. For our simulated nextVisit messages we need something that is not null. Using FILTER is the next best thing.
0fb3f70
to
13470fc
Compare
No description provided.