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

Provide input data for exampleCmdLineTask.py

    Details

    • Type: Improvement
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: pipe_tasks
    • Labels:
      None
    • Templates:
    • Story Points:
      1
    • Sprint:
      Science Pipelines DM-S15-4, Science Pipelines DM-S15-5
    • Team:
      Alert Production

      Description

      pipe_tasks/examples/exampleCmdLineTask.py reads data from a repository. The comments in pipe_tasks/python/lsst/pipe/tasks/exampleCmdLineTask.py suggest that

      # The following will work on an NCSA lsst* computer:
      examples/exampleCmdLineTask.py /lsst8/krughoff/diffim_data/sparse_diffim_output_v7_2 --id visit=6866601

      There are a few problems with that:

      • External contributors don't have access to lsst*;
      • Even though that data exists now, it's unclear how long it will remain there, or what steps are being taken to preserve it;
      • The mention of this data is fairly well buried – it does appear in the documentation, but it's certainly not the first thing a new user will stumble upon.

      At least the first two points could be addressed by referring to a publicly available data repository. For example, the following works once afwdata has been set up:

      examples/exampleCmdLineTask.py ${AFWDATA_DIR}/ImSim --id visit=85408556

      Although this has the downside of only providing a single image.

        Attachments

          Activity

            People

            • Assignee:
              rowen Russell Owen
              Reporter:
              swinbank John Swinbank
              Reviewers:
              John Swinbank
              Watchers:
              John Swinbank, Russell Owen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel