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

Fix --id examples in processCcd.py and friends to correctly show "ccd=1^2".

    Details

    • Templates:
    • Story Points:
      1
    • Sprint:
      Alert Production X16 - 03, Alert Production X16 - 04
    • Team:
      Alert Production

      Description

      The required '^' convention for lists of things, e.g. ccd, filter, visit and such is surprising. But, worse, the documentation is currently wrong in its examples and presents several ccd=1,2, patch=1,2 examples.

      • Fix the --id examples in pipe_tasks and other uses of processCcd.py in obs_* packages to correctly match the required syntax.

      Here's the current list in pipe_tasks, but check other packages as well.

      [serenity tasks] grep '[0-9],[0-9]' *.py | grep '"'
      assembleCoadd.py:                               help="data ID, e.g. --id tract=12345 patch=1,2",
      coaddBase.py:        parser.add_id_argument("--id", "deepCoadd", help="data ID, e.g. --id tract=12345 patch=1,2",
      imageDifference.py:        parser.add_id_argument("--id", "calexp", help="data ID, e.g. --id visit=12345 ccd=1,2")
      makeDiscreteSkyMap.py:            boxI = afwGeom.Box2I(afwGeom.Point2I(0,0), afwGeom.Extent2I(md.get("NAXIS1"), md.get("NAXIS2")))
      multiBand.py:        parser.add_id_argument("--id", "deepCoadd", help="data ID, e.g. --id tract=12345 patch=1,2 filter=r",
      multiBand.py:                               help="data ID, e.g. --id tract=12345 patch=1,2 filter=g^r^i")
      multiBand.py:        parser.add_id_argument("--id", "deepCoadd", help="data ID, e.g. --id tract=12345 patch=1,2 filter=r",
      processCoadd.py:        parser.add_id_argument("--id", "deepCoadd", help="data ID, e.g. --id tract=12345 patch=1,2",
      

        Attachments

          Container Issues

            Activity

              People

              • Assignee:
                rowen Russell Owen
                Reporter:
                wmwood-vasey Michael Wood-Vasey
                Reviewers:
                Michael Wood-Vasey
                Watchers:
                John Swinbank, Kian-Tat Lim, Michael Wood-Vasey, Paul Price, Russell Owen
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel