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
1 change: 1 addition & 0 deletions doc/playbook.rst
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ One raw was ingested, visit-defined, and kept in the development central repo, s

apdb-cli create-sql "sqlite:///apdb.db" apdb_config.yaml
pipetask run -b s3://rubin-pp-dev-users/central_repo_2 -i LSSTComCamSim/raw/all,LSSTComCamSim/defaults,LSSTComCamSim/templates -o u/${USER}/add-dataset-types -d "instrument='LSSTComCamSim' and exposure=7024062700235 and detector=8" -p $AP_PIPE_DIR/pipelines/LSSTComCamSim/ApPipe.yaml -c parameters:apdb_config=apdb_config.yaml -c associateApdb:doPackageAlerts=False --register-dataset-types --init-only
pipetask run -b s3://rubin-pp-dev-users/central_repo_2 -i LSSTComCamSim/raw/all,LSSTComCamSim/defaults,LSSTComCamSim/templates -o u/${USER}/add-dataset-types -d "instrument='LSSTComCamSim' and exposure=7024062700235 and detector=8" -p $AP_PIPE_DIR/pipelines/LSSTComCamSim/SingleFrame.yaml -c parameters:apdb_config=apdb_config.yaml --register-dataset-types --init-only

.. note::

Expand Down
9 changes: 6 additions & 3 deletions pipelines/HSC/SingleFrame.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
description: >-
Single-frame pipeline for the case in which
no templates exist, specialized for HSC
Unlike ap_pipe/SingleFrame.yaml, this pipeline is not standalone.
imports:
- location: $AP_PIPE_DIR/pipelines/HSC/SingleFrame.yaml
include:
- apPipeSingleFrame
- analyzeCalibrationMetrics
exclude:
# Run in prep_butler or Preprocessing.yaml
- getRegionTimeFromVisit
- mpSkyEphemerisQuery
- loadDiaCatalogs
Copy link
Member

Choose a reason for hiding this comment

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

It is true we don't want to run loadDiaCatalogs in SingleFrame, but I don't actually see that in the imports so I think the exclusion is unnecessary.

Copy link
Member Author

@kfindeisen kfindeisen Apr 25, 2025

Choose a reason for hiding this comment

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

Yes, it's not there. This was intended as "future-proofing" against changes to SingleFrame (which I think is part of what caused this mess in the first place). We want to include any changes to upstream SingleFrame, except changes that incorporate more of preprocessing.

And of course I tested that excluding a nonexistent task is legal. 🙂

9 changes: 6 additions & 3 deletions pipelines/LATISS/SingleFrame.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
description: >-
Single-frame pipeline for the case in which
no templates exist, specialized for LATISS
Unlike ap_pipe/SingleFrame.yaml, this pipeline is not standalone.

imports:
- location: $AP_PIPE_DIR/pipelines/LATISS/SingleFrame.yaml
include:
- apPipeSingleFrame
- analyzeCalibrationMetrics
exclude:
# Run in prep_butler or Preprocessing.yaml
- getRegionTimeFromVisit
- mpSkyEphemerisQuery
- loadDiaCatalogs
9 changes: 6 additions & 3 deletions pipelines/LSSTCam-imSim/SingleFrame.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
description: >-
Single-frame pipeline for the case in which
no templates exist, specialized for LSSTCam-imSim
Unlike ap_pipe/SingleFrame.yaml, this pipeline is not standalone.

imports:
- location: $AP_PIPE_DIR/pipelines/LSSTCam-imSim/SingleFrame.yaml
include:
- apPipeSingleFrame
- analyzeCalibrationMetrics
exclude:
# Run in prep_butler or Preprocessing.yaml
- getRegionTimeFromVisit
- mpSkyEphemerisQuery
- loadDiaCatalogs
9 changes: 6 additions & 3 deletions pipelines/LSSTCam/SingleFrame.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
description: >-
Single-frame pipeline for the case in which
no templates exist, specialized for LSSTCam
Unlike ap_pipe/SingleFrame.yaml, this pipeline is not standalone.

imports:
- location: $AP_PIPE_DIR/pipelines/LSSTCam/SingleFrame.yaml
include:
- apPipeSingleFrame
- analyzeCalibrationMetrics
exclude:
# Run in prep_butler or Preprocessing.yaml
- getRegionTimeFromVisit
- mpSkyEphemerisQuery
- loadDiaCatalogs
9 changes: 6 additions & 3 deletions pipelines/LSSTComCam/SingleFrame.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
description: >-
Single-frame pipeline for the case in which
no templates exist, specialized for LSSTComCam
Unlike ap_pipe/SingleFrame.yaml, this pipeline is not standalone.

imports:
- location: $AP_PIPE_DIR/pipelines/LSSTComCam/SingleFrame.yaml
include:
- apPipeSingleFrame
- analyzeCalibrationMetrics
exclude:
# Run in prep_butler or Preprocessing.yaml
- getRegionTimeFromVisit
- mpSkyEphemerisQuery
- loadDiaCatalogs
9 changes: 6 additions & 3 deletions pipelines/LSSTComCamSim/SingleFrame.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
description: >-
Single-frame pipeline for the case in which
no templates exist, specialized for LSSTComCamSim
Unlike ap_pipe/SingleFrame.yaml, this pipeline is not standalone.

imports:
- location: $AP_PIPE_DIR/pipelines/LSSTComCamSim/SingleFrame.yaml
include:
- apPipeSingleFrame
- analyzeCalibrationMetrics
exclude:
# Run in prep_butler or Preprocessing.yaml
- getRegionTimeFromVisit
- mpSkyEphemerisQuery
- loadDiaCatalogs