Skip to content

Commit

Permalink
Add difference imaging steps
Browse files Browse the repository at this point in the history
Add difference imaging tasks in step4, step5, and step6.  Also modify step2bcde (move transformSourceTable, consolidateSourceTable, writeRecalibratedSourceTable from step4 to here) and step3b (add selectGoodSeeingVisits and templateGen).
  • Loading branch information
hlin730 authored Dec 4, 2023
1 parent a48911e commit b0c6f8c
Showing 1 changed file with 52 additions and 3 deletions.
55 changes: 52 additions & 3 deletions pipelines/LATISS/DRP.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,10 @@ subsets:
- fgcmBuildFromIsolatedStars
- fgcmFitCycle
- fgcmOutputProducts
- transformSourceTable
- consolidateSourceTable
- updateVisitSummary
- writeRecalibratedSourceTable
- makeCcdVisitTable
- makeVisitTable
description: |
Expand Down Expand Up @@ -178,6 +181,8 @@ subsets:
step3b:
subset:
- consolidateObjectTable
- selectGoodSeeingVisits
- templateGen
description: |
Tract-level tasks.
Allowed data query constraints: skymap, tract.
Expand Down Expand Up @@ -212,9 +217,13 @@ subsets:
step4:
subset:
- writeRecalibratedSourceTable
- transformSourceTable
- consolidateSourceTable
- forcedPhotCcd
- forcedPhotDiffim
- getTemplate
- subtractImages
- detectAndMeasureDiaSources
- transformDiaSourceCat
- writeForcedSourceTable
description: |
Tasks that be run together, but only after the 'step1', 'step2', and
'step3' subsets.
Expand All @@ -223,3 +232,43 @@ subsets:
These detector-level tasks should not be run with 'tract' or 'patch' as
part of the data ID expression if all reference catalogs are desired,
and to ensure that consolidateSourceTable contains complete visits.
step5:
subset:
- drpAssociation
- drpDiaCalculation
- forcedPhotCcdOnDiaObjects
- forcedPhotDiffOnDiaObjects
- transformForcedSourceTable
- consolidateForcedSourceTable
- consolidateAssocDiaSourceTable
- consolidateFullDiaObjectTable
- writeForcedSourceOnDiaObjectTable
- transformForcedSourceOnDiaObjectTable
- consolidateForcedSourceOnDiaObjectTable
description: |
Tasks that can be run together, but only after the 'step1', 'step2',
'step3', and 'step4' subsets.
This step includes patch-level aggregation Tasks. These should be run
with explicit 'tract' constraints in the data query, otherwise quanta
will be created for jobs with only partial visit coverage.
'consolidateForcedSourceTable' is a tract-level task that aggregates
patches and should be rerun if any of the patches fail.
step6:
subset:
- consolidateDiaSourceTable
description: |
Tasks that can be run together, but only after the 'step1', 'step2',
'step3', 'step4', and 'step5' subsets.
This step includes visit-level aggregation tasks. Running without tract
or patch in the data query is recommended, otherwise the outputs of
consolidateDiaSourceTable will not contain complete visits.
This subset is separate from step4 to signal to operators to pause to
assess unexpected image differencing failures before these aggregation
steps. Otherwise, if run in the same quantum graph, aggregated data
products (e.g. diaObjects) would not be created if one or more of the
expected inputs is missing.

0 comments on commit b0c6f8c

Please sign in to comment.