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

examples/measurePsfTask.py does not work

    Details

    • Templates:

      Description

      Yusra AlSayyad noticed a comment regarding secondMomentStarSelector in examples/measurePsfTask.py during her review of DM-14233. Unfortunately, that example doesn't even work on master, and it doesn't use that star selector explicitly anyway.

      Here's the error I get when trying to run the example on (pre-removal of secondMomentSS) master:

      $ ./measurePsfTask.py 
      Using matplotlib backend: Qt5Agg
      Traceback (most recent call last):
        File "./measurePsfTask.py", line 136, in <module>
          run(display=args.ds9)
        File "./measurePsfTask.py", line 95, in run
          tab = afwTable.SourceTable.make(schema)
      lsst.pex.exceptions.wrappers.NotFoundError: 
        File "src/table/Schema.cc", line 225, in lsst::afw::table::SchemaItem<T> lsst::afw::table::detail::SchemaImpl::find(const string&) const [with T = double; std::__cxx11::string = std::__cxx11::basic_string<char>]
          Field or subfield withname 'base_CircularApertureFlux_12_0_flux' not found with type 'D'. {0}
      lsst::pex::exceptions::NotFoundError: 'Field or subfield withname 'base_CircularApertureFlux_12_0_flux' not found with type 'D'.'
       
      > /home/parejkoj/lsst/lsstsw/build/pipe_tasks/examples/measurePsfTask.py(95)run()
           94     #
      ---> 95     tab = afwTable.SourceTable.make(schema)
           96     #
      

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  Parejkoj John Parejko
                  Watchers:
                  Jim Bosch, John Parejko, John Swinbank, Yusra AlSayyad
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Summary Panel