Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: obs_base
-
Story Points:3
-
Epic Link:
-
Sprint:AP F20-6 (November), AP S21-2 (January)
-
Team:Alert Production
-
Urgent?:No
Description
Once an instrument component exists for exposures, populate it with the value of Instrument.getName() anywhere where observatory code assigns a filter to an exposure.
Tim Jenness says on
DM-27174: ":to propagate the instrument label to all products it's a one line patch to https://github.com/lsst/obs_base/blob/master/python/lsst/obs/base/makeRawVisitInfoViaObsInfo.py#L106". However, the ObservationInfo object does not have an Instrument that we can call getName() on, and I don't know that I trust that e.g. the "INSTRUM" header (or whatever it is in FITS) will match Instrument.getName(). There is a TestMakeRawVisitInfoViaObsInfo to test it, if we go that route. VisitInfo is immutable, so we can't populate it after the fact.