Uploaded image for project: 'DRP 2-D Pipeline'
  1. DRP 2-D Pipeline
  2. PIPE2D-522

reduceArc raises numpy runtime warnings

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done (View Workflow)
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Story Points:
      1
    • Sprint:
      2DDRP-2021 A

      Description

      When running reduceArc.py, occasionally warning such as the following are raised:

      reduceArc.identifyLines INFO: Matched 58 from 78 observed and 74 reference lines
      /tigress/HSC/PFS/stack/current/python/miniconda3-4.5.12/envs/lsst-scipipe/lib/python3.7/site-packages/numpy/core/fromnumeric.py:3118: RuntimeWarning: Mean of empty slice.
        out=out, **kwargs)
      /tigress/HSC/PFS/stack/current/python/miniconda3-4.5.12/envs/lsst-scipipe/lib/python3.7/site-packages/numpy/core/_methods.py:85: RuntimeWarning: invalid value encountered in double_scalars
        ret = ret.dtype.type(ret / rcount)
      /tigress/HSC/PFS/stack/current/python/miniconda3-4.5.12/envs/lsst-scipipe/lib/python3.7/site-packages/numpy/core/_methods.py:85: RuntimeWarning: invalid value encountered in true_divide
        ret = ret.dtype.type(ret / rcount)
      

      Following discussions with price these can be safely ignored, but should be suppressed.

      These warnings were generated by the following command:

      reduceArc.py repo-01 --calib repo-01/CALIB --rerun calib0/arc --id visit=17244..17297 arm=r -j 20
      

      using LAM data.

        Attachments

          Activity

            People

            • Assignee:
              price price
              Reporter:
              hassan hassan
              Reviewers:
              hassan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: