Skip to content

Commit

Permalink
Add config override for ap_verify.
Browse files Browse the repository at this point in the history
  • Loading branch information
kfindeisen committed Apr 22, 2020
1 parent 68ee177 commit bfc5c06
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions config/datasetIngest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Config override for lsst.ap.verify.DatasetIngestTask
import os.path

from lsst.utils import getPackageDir
from lsst.obs.subaru.ingest import HscIngestTask

configDir = os.path.dirname(__file__)
defectDir = os.path.join(getPackageDir('obs_subaru_data'), 'hsc', 'defects')

config.textDefectPath = defectDir
config.dataIngester.retarget(HscIngestTask)
config.dataIngester.load(os.path.join(configDir, 'ingest.py'))
config.calibIngester.load(os.path.join(configDir, 'ingestCalibs.py'))
config.defectIngester.load(os.path.join(configDir, 'ingestCuratedCalibs.py'))

0 comments on commit bfc5c06

Please sign in to comment.