Details
-
Type:
Story
-
Status: Invalid
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ap_verify
-
Labels:
-
Story Points:4
-
Epic Link:
-
Sprint:AP F23-1 (June), AP F23-2 (July)
-
Team:Alert Production
-
Urgent?:No
Description
A deprecation warning in ap_verify suggests that we need to update the refcats that are in the ci data packages:
lsst.calibrate WARNING: Found version 0 reference catalog with old style units in schema.
|
lsst.calibrate WARNING: run `meas_algorithms/bin/convert_refcat_to_nJy.py` to convert fluxes to nJy.
|
lsst.calibrate WARNING: See RFC-575 for more details.
|
py.warnings WARNING: /Users/sullivan/LSST/code/eups_distrib/stack/miniconda3-py38_4.9.2-6.0.0/DarwinX86/meas_algorithms/gb4bc36e013+10ac321cda/python/lsst/meas/algorithms/loadReferenceObjects.py:808: FutureWarning: Call to deprecated function (or staticmethod) convertToNanojansky. (Support for version 0 refcats (pre-nJy fluxes) will be removed after v25.) -- Deprecated since version v24.0.
|
refCat = convertToNanojansky(refCat, self.log)
|
This particular run was using ap_verify_ci_hits2015, but I suspect all of our CI datasets have the same problem.
On
DM-19184Krzysztof Findeisen said that this had already been done, and checking my own copies of ci_hits2015 and ci_cosmos_pdr2, I see version=1 in the metadata. Are you sure you were working with an updated copy of the ci datasets when you got the warning?