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

            tjenness Tim Jenness added a comment -

            validate_drp is deprecated so this ticket is no longer valid as-is. kbechtol is this at all relevant for faro?

            tjenness Tim Jenness added a comment - validate_drp is deprecated so this ticket is no longer valid as-is. kbechtol is this at all relevant for faro?

            At the DRP metrics meeting a month ago jcarlin got an action to "Make faro not attempt running on narrow-bands." to https://confluence.lsstcorp.org/display/DM/DRP+Metrics+Monitoring+2022-02-28

            I can't find a ticket for that, so maybe we can repurpose this ticket. 

            yusra Yusra AlSayyad added a comment - At the DRP metrics meeting a month ago jcarlin  got an action to "Make faro not attempt running on narrow-bands." to https://confluence.lsstcorp.org/display/DM/DRP+Metrics+Monitoring+2022-02-28 I can't find a ticket for that, so maybe we can repurpose this ticket. 

            Also, jbosch suggested that there was a way for faro task to, at QG generation time, throw away any quanta for narrow bands. 

            yusra Yusra AlSayyad added a comment - Also, jbosch suggested that there was a way for faro task to, at QG generation time, throw away any quanta for narrow bands. 
            tjenness Tim Jenness added a comment -

            Thanks. I'm more than happy for the component to be changed to faro and the description tweaked.

            tjenness Tim Jenness added a comment - Thanks. I'm more than happy for the component to be changed to faro and the description tweaked.
            lguy Leanne Guy added a comment -

            faro does not use validateDrp.py so I think I'd rather close this ticket and make a new ticket for faro

            lguy Leanne Guy added a comment - faro does not use validateDrp.py so I think I'd rather close this ticket and make a new ticket for faro
            tjenness Tim Jenness added a comment -

            Please link the new ticket to this one when you make the new ticket (and then mark this one INVALID).

            tjenness Tim Jenness added a comment - Please link the new ticket to this one when you make the new ticket (and then mark this one INVALID).

            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.