Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions pipelines/DECam/DRP-Merian.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,16 @@ tasks:
)
}
config.fit_coadd_multiband.action_initializer = MakeCachedChainedInitializerAction()
config.fit_coadd_multiband.bands_fit=['N540', 'N708']
computeObjectEpochs:
class: lsst.drp.tasks.compute_object_epochs.ComputeObjectEpochsTask
config:
python: |
config.bands=['N540', 'N708']
consolidateObjectTable:
class: lsst.pipe.tasks.postprocess.ConsolidateObjectTableTask
config:
python: |
config.actions.extendedness.bands = ['N540', 'N708']
config.actions.extendedness.bands_combined.clear()
config.actions.extendedness.bands_combined["N540_N708"] = "N540,N708"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would strongly recommend placing the band-specific items in obs_decam instead of in the pipeline.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that might cause problems for other users of obs_decam who've constructed their own pipeline YAMLs. The hope here is to keep this pipeline Merian-specific.

7 changes: 6 additions & 1 deletion pipelines/_ingredients/DECam/DRP.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ tasks:
config:
connections.crosstalkSources: overscanRaw
doCrosstalk: true
doAmpOffset: true
ampOffset.doApplyAmpOffset: true
calibrateImage:
class: lsst.pipe.tasks.calibrateImage.CalibrateImageTask
# TODO: these should live in obs_decam, probably!
Expand All @@ -44,9 +46,10 @@ tasks:
class: lsst.drp.tasks.update_visit_summary.UpdateVisitSummaryTask
config:
photo_calib_provider: "tract"
background_provider: "input_summary"
background_provider: "replacement"
connections.photoCalibName: "jointcal"
connections.skyWcsName: "jointcal"
connections.background_overrides: "skyCorr"
reprocessVisitImage:
class: lsst.drp.tasks.reprocess_visit_image.ReprocessVisitImageTask
config:
Expand All @@ -58,6 +61,7 @@ tasks:
warper.warpingKernelName: lanczos5
coaddPsf.warpingKernelName: lanczos5
doSelectPreWarp: true
connections.background_apply_list: "skyCorr"
python: |
from lsst.pipe.tasks.selectImages import PsfWcsSelectImagesTask
config.select.retarget(PsfWcsSelectImagesTask)
Expand Down Expand Up @@ -152,6 +156,7 @@ subsets:
subset:
- consolidatePreSourceTable
- consolidateVisitSummary
- skyCorr
- isolatedStarAssociation
description: |
Global tasks: This is a mix of visit-level and tract-level tasks that
Expand Down
1 change: 1 addition & 0 deletions tests/test_pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ def test_decam_drp_merian(self):
"linearizer",
"overscanRaw",
"ps1_pv3_3pi_20170110",
"sky",
},
expected_outputs=COMMON_OUTPUTS
| {
Expand Down
Loading