Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: jointcal
-
Labels:None
-
Story Points:2
-
Epic Link:
-
Team:Data Release Production
-
Urgent?:No
Description
As discussed in DM-28173, the refcat errors for the astrometric positions are incorrect.
https://github.com/lsst/jointcal/blob/master/src/Associations.cc#L249-L256
if (std::isnan(refCoordinateErr)) { |
star->vx = record->get(raErrKey);
|
star->vy = record->get(decErrKey);
|
} else { |
// Compute and use the fake errors |
star->vx = std::pow(refCoordinateErr / 1000. / 3600. / std::cos(coord.getLatitude()), 2); |
star->vy = std::pow(refCoordinateErr / 1000. / 3600., 2); |
}
|
The code expects star->vx and star->vy to be in units of deg**2, which is what is used when refCoordinateErr is input and converted from mas. However, the units of the refcat are radians. This means that (for Gaia at least) the incorrect-unit errors are about x100 larger than they should be, and presumably they aren't constraining at all.
Attachments
Issue Links
- is triggered by
-
DM-28173 Investigate various issues revealed in the pipe_analysis plots in latest RC2 run
- Done
PR is here: https://github.com/lsst/jointcal/pull/167
Jenkins is here: https://ci.lsst.codes/blue/organizations/jenkins/stack-os-matrix/detail/stack-os-matrix/33331/pipeline