Skip to content

Commit

Permalink
Merge branch 'main' into tickets/DM-42576
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Kurlander authored Jul 25, 2024
2 parents 3b44172 + 0ff9b6e commit 7155195
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 222 deletions.
26 changes: 0 additions & 26 deletions pipelines/DECam/ApVerifyCalibrate.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions pipelines/DECam/ApVerifyWithFakes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,3 @@ instrument: lsst.obs.decam.DarkEnergyCamera
description: Fully instrumented AP pipeline with fakes, specialized for DECam
imports:
- location: $AP_VERIFY_DIR/pipelines/_ingredients/ApVerifyWithFakes.yaml
exclude:
- processCcd
# The existing Fakes insertion system is not currently compatible with the
# new CalibrateImageTask, so the fakes pipeline still is on the old tasks.
- location: $AP_PIPE_DIR/pipelines/DECam/ProcessCcdCalibrate.yaml
# Can't use $AP_PIPE_DIR/pipelines/DECam/ApPipeWithFakes.yaml here
# because the changes made by that file and _ingredients/ApVerifyWithFakes.yaml
# are hard to separate.
22 changes: 0 additions & 22 deletions pipelines/HSC/ApVerifyCalibrate.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions pipelines/HSC/ApVerifyWithFakes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,3 @@ instrument: lsst.obs.subaru.HyperSuprimeCam
description: Fully instrumented AP pipeline with fakes, specialized for HSC
imports:
- location: $AP_VERIFY_DIR/pipelines/_ingredients/ApVerifyWithFakes.yaml
exclude:
- processCcd
# The existing Fakes insertion system is not currently compatible with the
# new CalibrateImageTask, so the fakes pipeline still is on the old tasks.
- location: $AP_PIPE_DIR/pipelines/HSC/ProcessCcdCalibrate.yaml
# Can't use $AP_PIPE_DIR/pipelines/HSC/ApPipeWithFakes.yaml here
# because the changes made by that file and _ingredients/ApVerifyWithFakes.yaml
# are hard to separate.
26 changes: 0 additions & 26 deletions pipelines/LSSTCam-imSim/ApVerifyCalibrate.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions pipelines/LSSTCam-imSim/ApVerifyWithFakes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,3 @@ instrument: lsst.obs.lsst.LsstCamImSim
description: Fully instrumented AP pipeline with fakes, specialized for LSSTCam-imSim
imports:
- location: $AP_VERIFY_DIR/pipelines/_ingredients/ApVerifyWithFakes.yaml
exclude:
- processCcd
# The existing Fakes insertion system is not currently compatible with the
# new CalibrateImageTask, so the fakes pipeline still is on the old tasks.
- location: $AP_PIPE_DIR/pipelines/LSSTCam-imSim/ProcessCcdCalibrate.yaml
# Can't use $AP_PIPE_DIR/pipelines/LSSTCam-imSim/ApPipeWithFakes.yaml here
# because the changes made by that file and _ingredients/ApVerifyWithFakes.yaml
# are hard to separate.
28 changes: 0 additions & 28 deletions pipelines/_ingredients/ApVerifyCalibrate.yaml

This file was deleted.

14 changes: 11 additions & 3 deletions pipelines/_ingredients/ApVerifyWithFakes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,17 @@ tasks:
contracts:
# Metric inputs must match pipeline outputs
# Use of ConnectionsClass for templated fields is a workaround for DM-30210
- fakesMatch.connections.ConnectionsClass(config=fakesMatch).matchedDiaSources.name ==
- injectedMatch.connections.ConnectionsClass(config=injectedMatch).matchedDiaSources.name ==
apFakesCompletenessMag20t22.connections.ConnectionsClass(config=apFakesCompletenessMag20t22).matchedFakes.name
- fakesMatch.connections.ConnectionsClass(config=fakesMatch).matchedDiaSources.name ==
- injectedMatch.connections.ConnectionsClass(config=injectedMatch).matchedDiaSources.name ==
apFakesCompletenessMag22t24.connections.ConnectionsClass(config=apFakesCompletenessMag22t24).matchedFakes.name
- fakesMatch.connections.ConnectionsClass(config=fakesMatch).matchedDiaSources.name ==
- injectedMatch.connections.ConnectionsClass(config=injectedMatch).matchedDiaSources.name ==
apFakesCompletenessMag24t26.connections.ConnectionsClass(config=apFakesCompletenessMag24t26).matchedFakes.name
- injectedMatch.connections.ConnectionsClass(config=injectedMatch).matchedDiaSources.name ==
apFakesCountMag20t22.connections.ConnectionsClass(config=apFakesCountMag20t22).matchedFakes.name
- injectedMatch.connections.ConnectionsClass(config=injectedMatch).matchedDiaSources.name ==
apFakesCountMag22t24.connections.ConnectionsClass(config=apFakesCountMag22t24).matchedFakes.name
- injectedMatch.connections.ConnectionsClass(config=injectedMatch).matchedDiaSources.name ==
apFakesCountMag24t26.connections.ConnectionsClass(config=apFakesCountMag24t26).matchedFakes.name
- injectedMatch.connections.ConnectionsClass(config=injectedMatch).matchedDiaSources.name ==
apFakesCount.connections.ConnectionsClass(config=apFakesCount).matchedFakes.name
41 changes: 0 additions & 41 deletions pipelines/_ingredients/ConversionsCalibrate.yaml

This file was deleted.

18 changes: 7 additions & 11 deletions pipelines/_ingredients/ConversionsForFakes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,15 @@ imports:
# Fakes pipeline doesn't produce non-fakes DiaSourceTable.
- consolidateDiaSourceTable
tasks:
# Conversion of fakes_src [afw.table] to fakes_source [Parquet]
writeSourceTable:
class: lsst.pipe.tasks.postprocess.WriteSourceTableTask
config:
connections.catalogType: parameters.fakesType
# TODO: TransformSourceTableTask can't be run until we create a functor
# config that doesn't depend on shapeHSM.
# Merging of fakes_source [detector-level] to fakes_sourceTable_visit [visit-level]
consolidateSourceTable:
class: lsst.pipe.tasks.postprocess.ConsolidateSourceTableTask
config:
connections.catalogType: parameters.fakesType
# Skip DPDD-ified sourceTable and just use source directly
connections.inputCatalogs: "{catalogType}source"

# This is output directly by CalibrateImageTask.
connections.inputCatalogs: initial_stars_detector
connections.outputCatalog: initial_stars
# Merging of fakes_*Diff_diaSrcTable [detector-level Parquet] to fakes_diaSourceTable [visit-level]
consolidateDiaSourceTable:
class: lsst.pipe.tasks.postprocess.ConsolidateSourceTableTask
Expand All @@ -36,22 +30,24 @@ tasks:
# and fakesType is more stable than coaddName.
connections.inputCatalogs: "fakes_{catalogType}Diff_diaSrcTable"
connections.outputCatalog: fakes_diaSourceTable

# Creation of fakes_visitSummary
consolidateVisitSummary:
class: lsst.pipe.tasks.postprocess.ConsolidateVisitSummaryTask
config:
connections.calexpType: parameters.fakesType
connections.calexp: "{calexpType}calexp"
connections.calexp: "{calexpType}initial_pvi"
connections.visitSummary: "{calexpType}visitSummary"
connections.visitSummarySchema: "{calexpType}visitSummary_schema"
# Conversion of fakes_visitSummary [visit-level afw.table] to fakes_visitTable [instrument-level Parquet]
makeVisitTable:
class: lsst.pipe.tasks.postprocess.MakeVisitTableTask
config:
connections.calexpType: parameters.fakesType
connections.visitSummaries: "{calexpType}visitSummary"
# Conversion of fakes_visitSummary [visit-level afw.table] to fakes_ccdVisitTable [instrument-level Parquet]
makeCcdVisitTable:
class: lsst.pipe.tasks.postprocess.MakeCcdVisitTableTask
config:
connections.calexpType: parameters.fakesType
connections.visitSummaryRefs: "{calexpType}visitSummary"

41 changes: 0 additions & 41 deletions pipelines/_ingredients/MetricsMiscCalibrate.yaml

This file was deleted.

0 comments on commit 7155195

Please sign in to comment.