Skip to content

Commit

Permalink
Merge pull request #445 from lsst/tickets/DM-27767
Browse files Browse the repository at this point in the history
DM-27767: Add special raw file template
  • Loading branch information
timj committed Jan 8, 2021
2 parents e42c6dc + c235503 commit 2fe403e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/lsst/daf/butler/configs/datastores/fileDatastore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ datastore:
table: file_datastore_records
create: true
templates:
default: "{run:/}/{datasetType}.{component:?}/{tract:?}/{patch:?}/{label:?}/{band:?}/{subfilter:?}/{physical_filter:?}/{visit:?}/{datasetType}_{component:?}_{tract:?}_{patch:?}_{label:?}_{band:?}_{physical_filter:?}_{visit:?}_{exposure:?}_{detector:?}_{instrument:?}_{skymap:?}_{skypix:?}_{run}"
default: "{run:/}/{datasetType}.{component:?}/{tract:?}/{patch:?}/{visit.day_obs:?}/{exposure.day_obs:?}/{band:?}/{subfilter:?}/{physical_filter:?}/{visit:?}/{exposure.obs_id:?}/{datasetType}_{component:?}_{instrument:?}_{tract:?}_{patch:?}_{band:?}_{physical_filter:?}_{visit:?}_{exposure.obs_id:?}_{detector.full_name:?}_{skymap:?}_{skypix:?}_{run}"
# For raw-type files do not include band or filter in hierarchy
# and remove band from file name
physical_filter+detector+exposure: "{run:/}/{datasetType}.{component:?}/{exposure.day_obs}/{exposure.obs_id}/{datasetType}_{component:?}_{instrument:?}_{physical_filter}_{exposure.obs_id}_{detector.full_name}_{run}"
formatters: !include formatters.yaml
composites: !include composites.yaml

0 comments on commit 2fe403e

Please sign in to comment.