[PIPE2D-882] Support reading PF?B files as rawb and returning CDS-processed ramps as raw Created: 17/Aug/21  Updated: 20/Jul/22

Status: Open
Project: DRP 2-D Pipeline
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Story Priority: Normal
Reporter: rhl Assignee: rhl
Resolution: Unresolved Votes: 0
Labels: NIR
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to PIPE2D-917 Bring over DM-31448 from Rubin (Allow... Done
relates to PIPE2D-668 Support ISR processing for NIR data Done
Story Points: 2
Sprint: 2DDRP-2021 A12, 2DDRP-2022 A

 Description   

We need to be able to read the PFxB headers using the butler, and also to make the raw files useful for e.g. Fabrice.

The files are MEFs with pairs of HDUs (image, reference) so simply returning the first HDU as a raw read isn't helpful. Instead, return

(image[N-1] - reference[N-1]) - (image[0] - reference[0])

For real processing we'll use a more sophisticated reduction, which will require access to each HDU; please make these available via butler.get("rawb", ..., hdu=n)


Generated at Sat Feb 10 15:59:18 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.