Skip to content

Conversation

hsinfang
Copy link
Collaborator

@hsinfang hsinfang commented Mar 2, 2024

No description provided.

@hsinfang hsinfang force-pushed the tickets/DM-42726 branch 7 times, most recently from ec62316 to 41480d4 Compare March 7, 2024 22:41
@hsinfang hsinfang marked this pull request as ready for review March 7, 2024 22:44
Copy link
Member

@kfindeisen kfindeisen left a 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.

Copy link
Member

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!

Copy link
Collaborator Author

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
Copy link
Member

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.

Comment on lines +161 to +167
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.
Copy link
Member

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...

@kfindeisen
Copy link
Member

Oh, one question: does this PR make #132 obsolete?

@hsinfang
Copy link
Collaborator Author

Yes. #132 will be discarded.

hsinfang added 13 commits March 14, 2024 13:23
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.
@hsinfang hsinfang merged commit 771f61b into main Mar 14, 2024
@hsinfang hsinfang deleted the tickets/DM-42726 branch March 14, 2024 22:34
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.

2 participants