Skip to content

Commit

Permalink
Add check for old matcher config parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
morriscb committed Jan 4, 2019
1 parent 62fdbae commit b6476f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/processCcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from lsst.obs.cfht.cfhtIsrTask import CfhtIsrTask

from lsst.meas.algorithms import LoadIndexedReferenceObjectsTask
from lsst.meas.astrom import MatchOptimisticBTask

cfhtConfigDir = os.path.join(getPackageDir("obs_cfht"), "config")
config.calibrate.photoCal.colorterms.load(os.path.join(cfhtConfigDir, 'colorterms.py'))
Expand Down Expand Up @@ -34,7 +35,8 @@
refObjLoader.ref_dataset_name = "ps1_pv3_3pi_20170110"

config.calibrate.astrometry.wcsFitter.order = 3
config.calibrate.astrometry.matcher.maxMatchDistArcSec = 5
if isinstance(config.calibrate.astrometry.matcher, MatchOptimisticBTask):
config.calibrate.astrometry.matcher.maxMatchDistArcSec = 5

config.calibrate.photoCal.applyColorTerms = True
config.calibrate.photoCal.photoCatName = "ps1_pv3_3pi_20170110"
Expand Down
1 change: 1 addition & 0 deletions ups/obs_cfht.table
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
setupRequired(daf_persistence)
setupRequired(obs_base)
setupRequired(meas_algorithms)
setupRequired(meas_astrom)
setupRequired(pipe_tasks)
setupRequired(astropy)
setupRequired(astro_metadata_translator)
Expand Down

0 comments on commit b6476f1

Please sign in to comment.