Skip to content

Commit

Permalink
Add steps to run coadd level source injection.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmccann authored and eigerx committed Nov 23, 2024
1 parent 8be887b commit 0ce130d
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 9 deletions.
20 changes: 20 additions & 0 deletions examples/example_HSC_DRP-RC2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,26 @@
- 9615
- 9697
- 9813
- Step:
name: injected_step3
spec_block: HSC_DRP-RC2_injected_step3
prerequisites: ['step3']
child_config:
split_method: split_by_vals
split_vals:
- 9615
- 9697
- 9813
- Step:
name: injected_coadd_analysis
spec_block: HSC_DRP-RC2_injected_coadd_analysis
prerequisites: ['injected_step3']
child_config:
split_method: split_by_vals
split_vals:
- 9615
- 9697
- 9813
- Step:
name: step4
spec_block: HSC_DRP-RC2_step4
Expand Down
16 changes: 16 additions & 0 deletions examples/example_HSC_DRP-RC2_steps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,22 @@
child_config:
base_query: "instrument='HSC' and skymap='hsc_rings_v1'"
split_field: tract
- SpecBlock:
name: HSC_DRP-RC2_injected_step3
includes: ['step']
data:
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2+injected_deepCoadd.yaml#injected_step3"
child_config:
base_query: "instrument='HSC' and skymap='hsc_rings_v1'"
split_field: tract
- SpecBlock:
name: HSC_DRP-RC2_injected_coadd_analysis
includes: ['step']
data:
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2+injected_deepCoadd.yaml#injected_coadd_analysis"
child_config:
base_query: "instrument='HSC' and skymap='hsc_rings_v1'"
split_field: tract
- SpecBlock:
name: HSC_DRP-RC2_step4
includes: ['step']
Expand Down
12 changes: 12 additions & 0 deletions examples/example_HSC_DRP-RC2_subset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,18 @@
prerequisites: ['step2d']
child_config:
split_method: no_split
- Step:
name: injected_step3
spec_block: HSC_DRP-RC2_subset_injected_step3
prerequisites: ['step3']
child_config:
split_method: no_split
- Step:
name: injected_coadd_analysis
spec_block: HSC_DRP-RC2_subset_injected_coadd_analysis
prerequisites: ['injected_step3']
child_config:
split_method: no_split
- Step:
name: step4
spec_block: HSC_DRP-RC2_subset_step4
Expand Down
34 changes: 25 additions & 9 deletions examples/example_HSC_DRP-RC2_subset_steps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,71 +2,87 @@
name: HSC_DRP-RC2_subset_step1
includes: ['step']
data:
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2.yaml#nightlyStep1"
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2_subset.yaml#nightlyStep1"
child_config:
base_query: ""
split_method: no_split
- SpecBlock:
name: HSC_DRP-RC2_subset_step2a
includes: ['step']
data:
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2.yaml#nightlyStep2a"
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2_subset.yaml#nightlyStep2a"
child_config:
base_query: ""
split_method: no_split
- SpecBlock:
name: HSC_DRP-RC2_subset_step2b
includes: ['step']
data:
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2.yaml#nightlyStep2b"
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2_subset.yaml#nightlyStep2b"
child_config:
base_query: "instrument='HSC' and skymap='hsc_rings_v1' AND tract = 9813"
split_method: no_split
- SpecBlock:
name: HSC_DRP-RC2_subset_step2c
includes: ['step']
data:
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2.yaml#nightlyStep2c"
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2_subset.yaml#nightlyStep2c"
child_config:
base_query: ""
split_method: no_split
- SpecBlock:
name: HSC_DRP-RC2_subset_step2d
includes: ['step']
data:
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2.yaml#nightlyStep2d"
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2_subset.yaml#nightlyStep2d"
child_config:
base_query: ""
split_method: no_split
- SpecBlock:
name: HSC_DRP-RC2_subset_step3
includes: ['step']
data:
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2.yaml#nightlyStep3"
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2_subset.yaml#nightlyStep3"
child_config:
base_query: "instrument='HSC' and skymap='hsc_rings_v1' AND tract=9813 AND patch=40"
split_method: no_split
- SpecBlock:
name: HSC_DRP-RC2_subset_injected_step3
includes: ['step']
data:
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2_subset+injected_deepCoadd.yaml#injected_step3"
child_config:
base_query: "instrument='HSC' and skymap='hsc_rings_v1'"
split_method: no_split
- SpecBlock:
name: HSC_DRP-RC2_subset_injected_coadd_analysis
includes: ['step']
data:
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2_subset+injected_deepCoadd.yaml#injected_coadd_analysis"
child_config:
base_query: "instrument='HSC' and skymap='hsc_rings_v1'"
split_method: no_split
- SpecBlock:
name: HSC_DRP-RC2_subset_step4
includes: ['step']
data:
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2.yaml#nightlyStep4"
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2_subset.yaml#nightlyStep4"
child_config:
base_query: "skymap = 'hsc_rings_v1' AND tract=9813 AND patch=40"
split_method: no_split
- SpecBlock:
name: HSC_DRP-RC2_subset_step5
includes: ['step']
data:
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2.yaml#nightlyStep5"
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2_subset.yaml#nightlyStep5"
child_config:
base_query: "skymap = 'hsc_rings_v1' AND tract=9813 AND patch=40 AND band in ('g', 'r', 'i', 'z', 'y')"
split_method: no_split
- SpecBlock:
name: HSC_DRP-RC2_subset_step8
includes: ['step']
data:
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2.yaml#nightlyStep8"
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2_subset.yaml#nightlyStep8"
child_config:
base_query: "instrument='HSC' and skymap='hsc_rings_v1'"
split_method: no_split

0 comments on commit 0ce130d

Please sign in to comment.