Skip to content

Commit

Permalink
Separate clustering.yaml for DC2 and RC2 cases
Browse files Browse the repository at this point in the history
- visit_detector (step1) clustering requires distinct pipetask lists for
- DC2 (LSSTCam-imsim) and RC2 (HSC) cases
  • Loading branch information
brianyanny committed Dec 22, 2023
1 parent c5e775a commit 929cca8
Show file tree
Hide file tree
Showing 5 changed files with 5,289 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bps/clustering/DRP-recalibrated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
clusterAlgorithm: lsst.ctrl.bps.quantum_clustering_funcs.dimension_clustering
cluster:
visit_detector:
pipetasks: isr,inject_exposure,characterizeImage,calibrate,inject_visit,writePreSourceTable,transformPreSourceTable,writeSourceTable,transformSourceTable
pipetasks: isr,inject_exposure,characterizeImage,calibrate,inject_visit,writePreSourceTable,transformPreSourceTable
dimensions: visit,detector
equalDimensions: visit:exposure

Expand Down
12 changes: 12 additions & 0 deletions bps/clustering/HSC/DRP-RC2-clustering.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#
# For HSC campaigns, one uses the default clustering file
# without changes.
#
# Use it by adding:
#
# includeConfigs:
# - ${DRP_PIPE_DIR}/bps/clustering/HSC/DRP-RC2-clustering.yaml
#
# (with no outer indentation) to your BPS config file.
imports:
- $DRP_PIPE_DIR/bps/clustering/DRP-recalibrated.yaml
27 changes: 27 additions & 0 deletions bps/clustering/LSSTCam-imSim/DRP-DC2-clustering.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#

Check failure on line 1 in bps/clustering/LSSTCam-imSim/DRP-DC2-clustering.yaml

View workflow job for this annotation

GitHub Actions / call-workflow / yamllint

1:2 [trailing-spaces] trailing spaces
# For DC2 campaigns, the visit_detector (step1) clustering is modified since
# astrometric and photometric calibration are skipped in DC2
# this file swaps out two pipetasks: writePreSourceTable and

Check failure on line 4 in bps/clustering/LSSTCam-imSim/DRP-DC2-clustering.yaml

View workflow job for this annotation

GitHub Actions / call-workflow / yamllint

4:61 [trailing-spaces] trailing spaces
# transformPreSourceTable and replaces them with

Check failure on line 5 in bps/clustering/LSSTCam-imSim/DRP-DC2-clustering.yaml

View workflow job for this annotation

GitHub Actions / call-workflow / yamllint

5:49 [trailing-spaces] trailing spaces
# writeSourceTable and transformSourceTable
# for step1 clustering.
#

Check failure on line 8 in bps/clustering/LSSTCam-imSim/DRP-DC2-clustering.yaml

View workflow job for this annotation

GitHub Actions / call-workflow / yamllint

8:2 [trailing-spaces] trailing spaces
# Use it by adding:
#
# includeConfigs:
# - ${DRP_PIPE_DIR}/bps/clustering/LSSTCam-imSim/DRP-DC2-clustering.yaml
#
# (with no outer indentation) to your BPS config file.
#
imports:
- location: "$DRP_PIPE_DIR/bps/clustering/DRP-recalibrated.yaml"
exclude:

Check failure on line 18 in bps/clustering/LSSTCam-imSim/DRP-DC2-clustering.yaml

View workflow job for this annotation

GitHub Actions / call-workflow / yamllint

18:13 [trailing-spaces] trailing spaces
- visit_detector
- sourceTable

cluster:
visit_detector:
pipetasks: isr,inject_exposure,characterizeImage,calibrate,inject_visit,writeSourceTable,transformSourceTable
dimensions: visit,detector
equalDimensions: visit:exposure

Check failure on line 27 in bps/clustering/LSSTCam-imSim/DRP-DC2-clustering.yaml

View workflow job for this annotation

GitHub Actions / call-workflow / yamllint

27:1 [empty-lines] too many blank lines (1 > 0)
Loading

0 comments on commit 929cca8

Please sign in to comment.