Skip to content

Commit

Permalink
Add fgcmcal to LATISS pipeline, and split steps accordingly.
Browse files Browse the repository at this point in the history
  • Loading branch information
erykoff committed Sep 21, 2023
1 parent 158ecb4 commit b47955f
Showing 1 changed file with 70 additions and 8 deletions.
78 changes: 70 additions & 8 deletions pipelines/LATISS/DRP.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
description: DRP specialized for LATISS surveys
instrument: lsst.obs.lsst.Latiss
imports:
- location: $DRP_PIPE_DIR/pipelines/_ingredients/DRP-minimal-calibration.yaml
- location: $DRP_PIPE_DIR/pipelines/_ingredients/DRP-full.yaml
include:
- isr
- characterizeImage
- calibrate
- writeSourceTable
- transformSourceTable
- consolidateSourceTable
- writePreSourceTable
- transformPreSourceTable
- consolidatePreSourceTable
- consolidateVisitSummary
- isolatedStarAssociation
- fgcmBuildFromIsolatedStars
- fgcmFitCycle
- fgcmOutputProducts
- finalizeCharacterization
- updateVisitSummary
- makeCcdVisitTable
- makeVisitTable
- transformSourceTable
- writeRecalibratedSourceTable
- makeWarp
- assembleCoadd
- detection
Expand All @@ -27,14 +32,26 @@ imports:
- consolidateObjectTable
- forcedPhotCoadd

tasks:
fgcmFitCycle:
class: lsst.fgcmcal.fgcmFitCycle.FgcmFitCycleTask
config:
doMultipleCycles: true
multipleCyclesFinalCycleNumber: 6

fgcmOutputProducts:
class: lsst.fgcmcal.fgcmOutputProducts.FgcmOutputProductsTask
config:
connections.cycleNumber: 6

subsets:
step1:
subset:
- isr
- characterizeImage
- calibrate
- writeSourceTable
- transformSourceTable
- writePreSourceTable
- transformPreSourceTable
description: |
Per-detector tasks that can be run together to start the DRP pipeline.
These should never be run with 'tract' or 'patch' as part of the data ID
Expand All @@ -44,15 +61,47 @@ subsets:
this may be moot for a single-detector camera, we would still like to
follow best practices envisioned for the full LSST survey).
step2:
step2a:
subset:
- consolidateSourceTable
- consolidatePreSourceTable
- consolidateVisitSummary
- isolatedStarAssociation
description: |
Global tasks: This is a mix of visit-level and tract-level tasks that
must be run with a skymap data query constraint only (an instrument
constraint is fine, but generally unnecessary). For example, running
with 'tract' (and 'patch') constraints will select partial visits that
overlap that region. A skymap constraint is necessary to prevent
isolatedStarAssociation from producing results for all skymaps in the
data repository.
Visit-level: consolidatePreSourceTable, consolidateVisitSummary
Tract-level: isolatedStarAssociation
step2bcde:
subset:
- finalizeCharacterization
- fgcmBuildFromIsolatedStars
- fgcmFitCycle
- fgcmOutputProducts
- updateVisitSummary
- makeCcdVisitTable
- makeVisitTable
description: |
Per-visit and per-collection tasks that can be run together after step2a
with no data query constraints other than instrument.
FGCM requires full visits and 'tract' and 'patch' constraints will
always select partial visits that overlap that region.
This includes FGCM because it's configured here to run in "global" mode,
which means one should not use a 'tract' expression to constrain it, and
if one _did_ run it with a tract constraint (which would be a common
occurrence if it was included in any later step).
step2:
subset:
- consolidateSourceTable
description: |
This is a mix of visit-level and tract-level tasks that must not be run
with data query constraints other than instrument. These are tasks that
Expand Down Expand Up @@ -93,3 +142,16 @@ subsets:
'step3a' subsets (seperation into step3a and step3b is necessary for now
as otherwise failues in upstream tasks will cause these to fail. This is
hoped to be a temporary limitation).
step4:
subset:
- writeRecalibratedSourceTable
- transformSourceTable
- consolidateSourceTable
description: |
Tasks that be run together, but only after the 'step1', 'step2', and
'step3' 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.

0 comments on commit b47955f

Please sign in to comment.