-
Type: Story
-
Status: Won't Fix (View Workflow)
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Story Points:1
-
Epic Link:
md = arcExp.getMetadata().toDict()
key = "PFSCONFIGID"
if key in md:
pfsConfigId = md[key]
else:
self.log.info('No pfsConfigId is present in postISRCCD file for dataId %s' %
str(dataId.items()))
pfsConfigId = 0x0
pfsConfig = butler.get("pfsConfig", pfsConfigId=pfsConfigId, dateObs=dataId["dateObs"])
pfsArm = spectrumSetToPfsArm(pfsConfig, spectrumSetFromProfile,
dataId["visit"], dataId["spectrograph"], dataId["arm"])
butler.put(PfsArmIO(pfsArm), 'pfsArm', dataId)
should be encapsulated as a function as it is the standard way to persist a pfsArm file.
- relates to
-
PIPE2D-80 Task-ify code for creating normalized flats
- Done