Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Labels:None
-
Story Points:1
-
Epic Link:
-
Team:Data Release Production
Description
In recent runs of the stack through multiBandDriver.py, the persisted forced src tables for the coadds are not getting ra and dec set properly (all entries for the coord_ra and coord_dec columns are NaN). Looking back at a run in mid-Nov, 2016, these numbers were indeed set properly in the forced tables. Assuming this was not intentional, track down the cause and fix it such that these values get set properly for the persisted forced src tables.
Attachments
Issue Links
- blocks
-
DM-9907 Release hscPipe 5.0-beta2
- Done
Revised:
-price@pap-laptop:~/LSST/meas_base (tickets/DM-9556=) $ git sub-patch
commit 94f876db450f3494ff1ef8d737c696a4586f7836
Author: Paul Price <price@astro.princeton.edu>
Date: Fri Mar 31 11:48:21 2017 -0400
forcedMeasurement: copy coordinates, deblend_nChild
Forced measurement catalogs currently have no RA,Dec or
deblend_nChild. These used to be copied from the reference
catalog, but commit 448121a4 removed this behaviour.
Restoring it.
diff --git a/python/lsst/meas/base/forcedMeasurement.py b/python/lsst/meas/base/forcedMeasurement.py
index 52dcbb3..1c97858 100644
--- a/python/lsst/meas/base/forcedMeasurement.py
+++ b/python/lsst/meas/base/forcedMeasurement.py
@@ -163,7 +163,8 @@ class ForcedMeasurementConfig(BaseMeasurementConfig):
copyColumns = lsst.pex.config.DictField(
keytype=str, itemtype=str, doc="Mapping of reference columns to source columns",
- default={"id": "objectId", "parent": "parentObjectId"}
+ default={"id": "objectId", "parent": "parentObjectId", "deblend_nChild": "deblend_nChild",
+ "coord_ra": "coord_ra", "coord_dec": "coord_dec"}
)
checkUnitsParseStrict = lsst.pex.config.Field(