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

validateDrp.py doesn't like the NB0921 filter

    XMLWordPrintable

Details

    • Story
    • Status: Invalid
    • Resolution: Done
    • None
    • validate_drp
    • None
    • SQuaRE

    Description

      Using w_2018_28 and running validateDrp.py on a filter=NB0921 json file generated by matchedVisitMetrics.py gives the following error

      Traceback (most recent call last):
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/validate_drp/16.0-4-g0b0e9de+6/bin/validateDrp.py", line 109, in <module>
          validate.run(args.repo, **kwargs)
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/validate_drp/16.0-4-g0b0e9de+6/python/lsst/validate/drp/validate.py", line 157, in run
          print_metrics(job)
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/validate_drp/16.0-4-g0b0e9de+6/python/lsst/validate/drp/validate.py", line 482, in print_metrics
          metric = job.metrics[metric_set[0]] # Pick the first one for the description
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/verify/16.0+1/python/lsst/verify/metricset.py", line 207, in __getitem__
          return self._metrics[key]
      KeyError: Name('release', 'PF1')
      

      To reproduce, try

      validateDrp.py /datasets/hsc/repo/rerun/RC/w_2018_28/DM-14988/validateDrp/matchedVisitMetrics/9813/NB0921/matchedVisit_NB0921.json --noplot
      

      or a newer biweekly equivalent.

      Attachments

        Issue Links

          Activity

            hchiang2 Hsin-Fang Chiang created issue -
            hchiang2 Hsin-Fang Chiang made changes -
            Field Original Value New Value
            Risk Score 0
            hchiang2 Hsin-Fang Chiang made changes -
            Link This issue relates to DM-15119 [ DM-15119 ]
            swinbank John Swinbank made changes -
            Team SQuaRE [ 10302 ]
            swinbank John Swinbank made changes -
            Risk Score 0 1
            tjenness Tim Jenness made changes -
            Remote Link This issue links to "Page (Confluence)" [ 32470 ]
            lguy Leanne Guy made changes -
            Component/s validate_drp [ 14011 ]
            lguy Leanne Guy made changes -
            Link This issue is duplicated by DM-34571 [ DM-34571 ]
            lguy Leanne Guy made changes -
            Resolution Done [ 10000 ]
            Status To Do [ 10001 ] Invalid [ 11005 ]
            lguy Leanne Guy made changes -
            Link This issue relates to DM-34571 [ DM-34571 ]
            lguy Leanne Guy made changes -
            Link This issue is duplicated by DM-34571 [ DM-34571 ]

            People

              Unassigned Unassigned
              hchiang2 Hsin-Fang Chiang
              Hsin-Fang Chiang, Leanne Guy, Tim Jenness, Yusra AlSayyad
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Jenkins

                  No builds found.