Skip to content
Draft
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
6 changes: 5 additions & 1 deletion bps/caching/LSSTCam/usdf/DRP-caching.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,15 @@

subDirTemplate: "{label}/{detector}"

includeConfigs:
# DAF_BUTLER_CONFIG_PATH is set here:
- ${DRP_PIPE_DIR}/bps/daf_butler_config_path/compose.yaml

environment:
# Default caching config
# Each pipetask creates its own local cache folder,
# $TMPDIR/butler-cache-dir-*
DAF_BUTLER_CONFIG_PATH: ${DRP_PIPE_DIR}/bps/caching/LSSTCam/usdf/config:${DAF_BUTLER_CONFIG_PATH}
CACHING_CONFIG_PATH: ${DRP_PIPE_DIR}/bps/caching/LSSTCam/usdf/config
DAF_BUTLER_CACHE_EXPIRATION_MODE: datasets=500

cluster:
Expand Down
15 changes: 15 additions & 0 deletions bps/compression/LSSTCam/DRP/DRP-compression.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# There are recommended configs for compression for LSSTCam DRP
#
# Use it by adding
#
# includeConfigs:
# - ${DRP_PIPE_DIR}/bps/compression/LSSTCam/DRP/DRP-compression.yaml
#
# (with no outer indentation) to your BPS config file.

includeConfigs:
# DAF_BUTLER_CONFIG_PATH is set here:
- ${DRP_PIPE_DIR}/bps/daf_butler_config_path/compose.yaml

environment:
COMPRESSION_CONFIG_PATH: ${DRP_PIPE_DIR}/bps/compression/LSSTCam/DRP/config
17 changes: 17 additions & 0 deletions bps/compression/LSSTCam/DRP/config/datastores/fileDatastore.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
formatters:
preliminary_visit_image:
formatter: lsst.obs.base.formatters.fitsExposure.FitsExposureFormatter
parameters:
recipe: lossy16
visit_image:
formatter: lsst.obs.base.formatters.fitsExposure.FitsExposureFormatter
parameters:
recipe: lossy16
deep_coadd:
formatter: lsst.obs.base.formatters.fitsExposure.FitsExposureFormatter
parameters:
recipe: lossy16
template_coadd:
formatter: lsst.obs.base.formatters.fitsExposure.FitsExposureFormatter
parameters:
recipe: lossy16
2 changes: 2 additions & 0 deletions bps/daf_butler_config_path/compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
environment:
DAF_BUTLER_CONFIG_PATH: "{COMPRESSION_CONFIG_PATH}:{CACHING_CONFIG_PATH}:${DAF_BUTLER_CONFIG_PATH}"
Loading