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

Fix warnings in DcrAssembleCoadd

    XMLWordPrintable

    Details

    • Story Points:
      2
    • Sprint:
      AP F20-1 (June), AP F20-3 (August), AP F20-4 (September), AP F20-5 (October), AP F20-6 (November), AP S21-1 (December), AP S21-2 (January)
    • Team:
      Alert Production

      Description

      DcrAssembleCoaddTask produces several warnings when run, which are harmless but distracting. These should either be fixed or silenced.

       

      Examples:

      py.warnings WARN: /project/sullivan/code/pipe_tasks/python/lsst/pipe/tasks/dcrAssembleCoadd.py:1212: RuntimeWarning: invalid value encountered in true_divide
       weights /= np.max(weights)

      py.warnings WARN: /software/lsstsw/stack_20191101/python/miniconda3-4.5.12/envs/lsst-scipipe/lib/python3.7/site-packages/numpy/core/_methods.py:140: RuntimeWarning: Degrees of freedom <= 0 for slice
        keepdims=keepdims)
       
      py.warnings WARN: /software/lsstsw/stack_20191101/python/miniconda3-4.5.12/envs/lsst-scipipe/lib/python3.7/site-packages/numpy/core/_methods.py:110: RuntimeWarning: invalid value encountered in true_divide
        arrmean, rcount, out=arrmean, casting='unsafe', subok=False)
       
      py.warnings WARN: /software/lsstsw/stack_20191101/python/miniconda3-4.5.12/envs/lsst-scipipe/lib/python3.7/site-packages/numpy/core/_methods.py:132: RuntimeWarning: invalid value encountered in true_divide
        ret = ret.dtype.type(ret / rcount)
       
      py.warnings WARN: /software/lsstsw/stack_20191101/stack/miniconda3-4.5.12-4d7b902/Linux64/ip_diffim/19.0.0-4-gad373c5/python/lsst/ip/diffim/dcrModel.py:571: RuntimeWarning: invalid value encountered in greater
        highPixels = image > highThreshold
       
      py.warnings WARN: /software/lsstsw/stack_20191101/stack/miniconda3-4.5.12-4d7b902/Linux64/ip_diffim/19.0.0-4-gad373c5/python/lsst/ip/diffim/dcrModel.py:577: RuntimeWarning: invalid value encountered in less
        lowPixels = image < lowThreshold
      

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              Assignee:
              sullivan Ian Sullivan
              Reporter:
              sullivan Ian Sullivan
              Watchers:
              Ian Sullivan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Jenkins

                  No builds found.