Details
-
Type:
Improvement
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ts_aos
-
Story Points:5
-
Team:Telescope and Site
Description
Currently, when running
python /project/scichris/aos/ts_phosim/bin.src/imgCloseLoop.py --inst comcam
|
one gets on NCSA lsst_distrib `2022_17`, `ts_phosim` v2.0.1:
INFO:Generating bulter gen3 in /project/scichris/aos/rotation_DM-34424/rot_0/phosimData for comcam |
lsst.LsstCamMapper WARN: Unable to find valid calib root directory
|
lsst.CameraMapper INFO: Loading Posix exposure registry from /project/scichris/aos/rotation_DM-34424/rot_0/phosimData/skydata |
root INFO: Running: /software/lsstsw/stack_20220215/stack/miniconda3-py38_4.9.2-2.0.0/Linux64/pipe_tasks/gb1d6de0934+6a8639994f/bin/ingestReferenceCatalog.py |
/project/scichris/aos/rotation_DM-34424/rot_0/phosimData/skydata /project/scichris/aos/rotation_DM-34424/rot_0/phosimData/skydata/sky_data.csv --configfile |
/project/scichris/aos/rotation_DM-34424/rot_0/phosimData/skydata/cat.cfg |
/software/lsstsw/stack_20220215/stack/miniconda3-py38_4.9.2-2.0.0/Linux64/pipe_base/g590c34a36e+5da9528084/python/lsst/pipe/base/argumentParser.py:782: Futur |
eWarning: Gen2 Butler has been deprecated (Butler). It will be removed sometime after v23.0 but no earlier than the end of 2021. |
namespace.butler = dafPersist.Butler(outputs=outputs)
|
/software/lsstsw/stack_20220215/stack/miniconda3-py38_4.9.2-2.0.0/Linux64/pipe_base/g590c34a36e+5da9528084/python/lsst/pipe/base/argumentParser.py:782: Futur |
eWarning: Gen2 Butler has been deprecated (LsstCamMapper). It will be removed sometime after v23.0 but no earlier than the end of 2021. |
namespace.butler = dafPersist.Butler(outputs=outputs)
|
IngestIndexedReferenceTask INFO: Creating 131072 file locks. |
IngestIndexedReferenceTask INFO: File locks created.
|
IngestIndexedReferenceTask INFO: Completed 1 / 1 files: 100 % complete |
root WARN: Unable to retrieve exit status ('NoneType' object is not iterable); assuming success |
py.warnings WARNING: /software/lsstsw/stack_20220215/stack/miniconda3-py38_4.9.2-2.0.0/Linux64/daf_butler/gb7ebdee0ea+6728436f39/python/lsst/daf/butler/cli/u |
tils.py:901: FutureWarning: Gen2 Butler has been deprecated (Butler). It will be removed sometime after v23.0 but no earlier than the end of 2021. |
func(*args, **kwargs)
|
|
|
py.warnings WARNING: /software/lsstsw/stack_20220215/stack/miniconda3-py38_4.9.2-2.0.0/Linux64/daf_butler/gb7ebdee0ea+6728436f39/python/lsst/daf/butler/cli/u |
tils.py:901: FutureWarning: Gen2 Butler has been deprecated (LsstCamMapper). It will be removed sometime after v23.0 but no earlier than the end of 2021. |
func(*args, **kwargs)
|
...
|
This is connected to `GenerateRefCatalog` https://github.com/lsst-ts/ts_phosim/blob/4172fa9eb23b30ef4b85684cc3d6ddf188cc9f55/python/lsst/ts/phosim/CloseLoopTask.py#L1372 which currently creates the reference catalog using Gen2 butler and then converts it to Gen3. This ticket is to remove the Gen2 dependency so that deprecation warning would not be triggered.
If you haven't found it yet this might help: https://pipelines.lsst.io/v/weekly/modules/lsst.meas.algorithms/creating-a-reference-catalog.html