Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-47951 : Update hsc_micro example steps to reflect upstream changes #146

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
14 changes: 3 additions & 11 deletions examples/build_hsc_micro.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,13 @@ Campaign:
child_config:
split_method: split_by_query
split_min_groups: 2
# Add another predefined step
- Step:
name: characterizeImage
spec_block: hsc_micro_characterizeImage
prerequisites: ['isr']
child_config:
split_method: split_by_query
split_min_groups: 2
# Add a custom step
- Step:
name: calibrate
name: calibrateImage
spec_block: step
prerequisites: ['characterizeImage']
prerequisites: ['isr']
data:
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2.yaml#calibrate"
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2.yaml#calibrateImage"
child_config:
base_query: "instrument = 'HSC'"
split_dataset: raw
Expand Down
11 changes: 2 additions & 9 deletions examples/example_hsc_micro.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,12 @@
split_method: split_by_query
split_min_groups: 2
- Step:
name: characterizeImage
spec_block: hsc_micro_characterizeImage
name: calibrateImage
spec_block: hsc_micro_calibrateImage
prerequisites: ['isr']
child_config:
split_method: split_by_query
split_min_groups: 2
- Step:
name: calibrate
spec_block: hsc_micro_calibrate
prerequisites: ['characterizeImage']
child_config:
split_method: split_by_query
split_min_groups: 2
data:
butler_repo: '/repo/main'
prod_area: 'output/archive'
Expand Down
13 changes: 2 additions & 11 deletions examples/example_hsc_micro_steps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,10 @@
split_dataset: raw
split_field: exposure
- SpecBlock:
name: hsc_micro_characterizeImage
name: hsc_micro_calibrateImage
includes: ["step"]
data:
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2.yaml#characterizeImage"
child_config:
base_query: "instrument = 'HSC'"
split_dataset: raw
split_field: exposure
- SpecBlock:
name: hsc_micro_calibrate
includes: ["step"]
data:
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2.yaml#calibrate"
pipeline_yaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2.yaml#calibrateImage"
child_config:
base_query: "instrument = 'HSC'"
split_dataset: raw
Expand Down
Loading