Skip to content

Commit

Permalink
Merge pull request #39 from lsst/tickets/DM-14191
Browse files Browse the repository at this point in the history
DM-14191: Merge butler configuration files with defaults
  • Loading branch information
timj committed May 17, 2018
2 parents e3e70e5 + bd82bd6 commit f0893da
Show file tree
Hide file tree
Showing 37 changed files with 2,315 additions and 1,710 deletions.
2 changes: 1 addition & 1 deletion SConstruct
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- python -*-
from lsst.sconsUtils import scripts

scripts.BasicSConstruct("daf_butler")
scripts.BasicSConstruct("daf_butler", disableCc=True)
3 changes: 3 additions & 0 deletions config/datastore.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
datastore:
# Use the PosixDatastore as a default for a default butler
cls: lsst.daf.butler.datastores.posixDatastore.PosixDatastore
22 changes: 22 additions & 0 deletions config/datastores/posixDatastore.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
datastore:
cls: lsst.daf.butler.datastores.posixDatastore.PosixDatastore
root: default_butler_repository
records:
table: PosixDatastoreRecords
create: true
templates:
default: "{datasetType}/{tract:?}/{patch:?}/{filter:?}/{camera:?}_{visit:?}"
formatters:
TablePersistable: lsst.daf.butler.formatters.fitsCatalogFormatter.FitsCatalogFormatter
TablePersistableWcs: lsst.daf.butler.formatters.fitsCatalogFormatter.FitsCatalogFormatter
TablePersistablePsf: lsst.daf.butler.formatters.fitsCatalogFormatter.FitsCatalogFormatter
TablePersistableCoaddInputs: lsst.daf.butler.formatters.fitsCatalogFormatter.FitsCatalogFormatter
TablePersistableVisitInfo: lsst.daf.butler.formatters.fitsCatalogFormatter.FitsCatalogFormatter
TablePersistableApCorr: lsst.daf.butler.formatters.fitsCatalogFormatter.FitsCatalogFormatter
TablePersistableCalib: lsst.daf.butler.formatters.fitsCatalogFormatter.FitsCatalogFormatter
ImageF: lsst.daf.butler.formatters.fitsCatalogFormatter.FitsCatalogFormatter
MaskX: lsst.daf.butler.formatters.fitsCatalogFormatter.FitsCatalogFormatter
SourceCatalog: lsst.daf.butler.formatters.fitsCatalogFormatter.FitsCatalogFormatter
Exposure: lsst.daf.butler.formatters.fitsExposureFormatter.FitsExposureFormatter
ExposureF: lsst.daf.butler.formatters.fitsExposureFormatter.FitsExposureFormatter
ExposureI: lsst.daf.butler.formatters.fitsExposureFormatter.FitsExposureFormatter
4 changes: 4 additions & 0 deletions config/registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Default with a sqlLite registry
registry:
cls: lsst.daf.butler.registries.sqliteRegistry.SqliteRegistry
db: 'sqlite:///:memory:'

0 comments on commit f0893da

Please sign in to comment.