Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-6525

ANetAstrometry now broken because of recent changes of refObjLoader

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: meas_astrom
    • Labels:
      None
    • Templates:
    • Sprint:
      Alert Production F16 - 6, Alert Production F16 - 7
    • Team:
      Alert Production

      Description

      While I was running processCcd.py, I encountered an error linked to 'refObjLoader' and 'anetAstrometry', which could apparently comes from recent changes in the way reference object loaders are now constructed (https://community.lsst.org/t/testing-obs-decam-and-obs-cfht/820).

      You can find below the error message followed by the part of the config file related to this error. Please let me know if I can help in any ways to debug, run more tests, or in you need details on what I've used to produce the bug (but keep in mind that I have very little knowledge of the stack for now).

      *Error message:*

      _CameraMapper: Loading Posix registry from /home/chotard/Work/clusters/3C295/output_
      _Traceback (most recent call last):_
      _  File "/home/chotard/Work/lsstsw/stack/Linux64/pipe_tasks/12.0.rc1-1-gc9b72b9+1/bin/processCcd.py", line 25, in <module>_
      _    ProcessCcdTask.parseAndRun()_
      _  File "/home/chotard/Work/lsstsw/stack/Linux64/pipe_base/12.0.rc1+8/python/lsst/pipe/base/cmdLineTask.py", line 452, in parseAndRun_
      _    resultList = taskRunner.run(parsedCmd)_
      _  File "/home/chotard/Work/lsstsw/stack/Linux64/pipe_base/12.0.rc1+8/python/lsst/pipe/base/cmdLineTask.py", line 194, in run_
      _    if self.precall(parsedCmd):_
      _  File "/home/chotard/Work/lsstsw/stack/Linux64/pipe_base/12.0.rc1+8/python/lsst/pipe/base/cmdLineTask.py", line 281, in precall_
      _    task = self.makeTask(parsedCmd=parsedCmd)_
      _  File "/home/chotard/Work/lsstsw/stack/Linux64/pipe_base/12.0.rc1+8/python/lsst/pipe/base/cmdLineTask.py", line 371, in makeTask_
      _    return self.TaskClass(config=self.config, log=self.log, butler=butler)_
      _  File "/home/chotard/Work/lsstsw/stack/Linux64/pipe_tasks/12.0.rc1-1-gc9b72b9+1/python/lsst/pipe/tasks/processCcd.py", line 135, in __init___
      _    self.makeSubtask("calibrate", butler=butler, icSourceSchema=self.charImage.schema)_
      _  File "/home/chotard/Work/lsstsw/stack/Linux64/pipe_base/12.0.rc1+8/python/lsst/pipe/base/task.py", line 226, in makeSubtask_
      _    subtask = configurableField.apply(name=name, parentTask=self, **keyArgs)_
      _  File "/home/chotard/Work/lsstsw/stack/Linux64/pex_config/12.0.rc1-1-gc153103/python/lsst/pex/config/configurableField.py", line 77, in apply_
      _    return self.target(*args, config=self.value, **kw)_
      _  File "/home/chotard/Work/lsstsw/stack/Linux64/pipe_tasks/12.0.rc1-1-gc9b72b9+1/python/lsst/pipe/tasks/calibrate.py", line 279, in __init___
      _    self.makeSubtask("astrometry", refObjLoader=self.refObjLoader, schema=self.schema)_
      _  File "/home/chotard/Work/lsstsw/stack/Linux64/pipe_base/12.0.rc1+8/python/lsst/pipe/base/task.py", line 226, in makeSubtask_
      _    subtask = configurableField.apply(name=name, parentTask=self, **keyArgs)_
      _  File "/home/chotard/Work/lsstsw/stack/Linux64/pex_config/12.0.rc1-1-gc153103/python/lsst/pex/config/configurableField.py", line 77, in apply_
      _    return self.target(*args, config=self.value, **kw)_
      _  File "/home/chotard/Work/lsstsw/stack/Linux64/meas_astrom/12.0.rc1-3-g992ad82+1/python/lsst/meas/astrom/anetAstrometry.py", line 145, in __init___
      _    pipeBase.Task.__init__(self, **kwds)_
      _TypeError: __init__() got an unexpected keyword argument 'refObjLoader'_
      

      *Config file*

      _from lsst.meas.astrom.anetAstrometry import ANetAstrometryTask_
      _config.calibrate.astrometry.retarget(ANetAstrometryTask)_
      _config.calibrate.astrometry.solver.sipOrder=3_
      

        Attachments

          Container Issues

            Activity

              People

              • Assignee:
                krughoff Simon Krughoff
                Reporter:
                nchotard Nicolas Chotard
                Reviewers:
                Russell Owen
                Watchers:
                Dominique Boutigny, John Swinbank, Nicolas Chotard, Paul Price, Russell Owen, Simon Krughoff
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel