Skip to content

Commit

Permalink
Merge pull request #173 from lsst/tickets/DM-34845
Browse files Browse the repository at this point in the history
DM-34845: Add missing pipelines for DC2 dataset
  • Loading branch information
parejkoj committed Nov 23, 2022
2 parents b08acd6 + 2dda400 commit 5cb7d67
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/lsst.ap.verify/datasets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ There may be other datasets :ref:`formatted<ap-verify-datasets-structure>` for u

* `ap_verify_ci_hits2015 (HiTS 2015 with 2014 templates) <https://github.com/lsst/ap_verify_ci_hits2015/>`_
* `ap_verify_ci_cosmos_pdr2 (Cosmos DR2 ultradeep fields) <https://github.com/lsst/ap_verify_ci_cosmos_pdr2/>`_
* `ap_verify_ci_dc2 (two overlapping LSSTCam ImSim images) <https://github.com/lsst/ap_verify_ci_dc2/>`_

..
TODO: switch to toctree once these docs included in pipelines.lsst.io
Expand All @@ -47,3 +48,4 @@ There may be other datasets :ref:`formatted<ap-verify-datasets-structure>` for u
/packages/ap_verify_ci_hits2015/index
/packages/ap_verify_ci_cosmos_pdr2/index
/packages/ap_verify_ci_dc2/index
23 changes: 23 additions & 0 deletions pipelines/LSSTCam-imSim/ApVerify.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Pipeline for ap_verify on DC2
# This concatenates various lsst.verify metrics to an AP pipeline

description: Fully instrumented AP pipeline specialized for LSSTCam-imSim
imports:
- location: $AP_VERIFY_DIR/pipelines/ApVerify.yaml
# Include all metrics from standard pipeline. It's not practical to create
# a metrics subset because it would require constant micromanagement.
exclude:
- apPipe
- location: $AP_PIPE_DIR/pipelines/LsstCamImSim/ApPipe.yaml
tasks:
# ApVerify override removed by excluding apPipe.
diaPipe:
class: lsst.ap.association.DiaPipelineTask
config:
doPackageAlerts: True
contracts:
# Must re-declare contracts that cross apPipe and metrics boundary, as
# these were removed on import.
# Use of ConnectionsClass for templated fields is a workaround for DM-30210
- detectAndMeasure.connections.ConnectionsClass(config=detectAndMeasure).diaSources.name ==
fracDiaSourcesToSciSources.connections.ConnectionsClass(config=fracDiaSourcesToSciSources).diaSources.name
13 changes: 13 additions & 0 deletions pipelines/LSSTCam-imSim/ApVerifyWithFakes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Gen 3 pipeline for ap_verify
# This concatenates various lsst.verify metrics to an AP pipeline

instrument: lsst.obs.lsst.LsstCamImSim
description: Fully instrumented AP pipeline with fakes, specialized for LSSTCam-imSim
imports:
- location: $AP_VERIFY_DIR/pipelines/ApVerifyWithFakes.yaml
exclude:
- processCcd
- location: $AP_PIPE_DIR/pipelines/LsstCamImSim/ProcessCcd.yaml
# Can't use $AP_PIPE_DIR/pipelines/LsstCamImSim/ApPipeWithFakes.yaml here
# because the changes made by that file and ../ApVerifyWithFakes.yaml are
# hard to separate.

0 comments on commit 5cb7d67

Please sign in to comment.