Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-27013: Change CalibrateTask refcat defaults to Gaia DR2 for astrometry and PS1 for photometry #97

Merged
merged 1 commit into from
Apr 19, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 0 additions & 12 deletions config/calibrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,15 @@

config.photoCal.colorterms.load(os.path.join(configDir, 'colorterms.py'))

config.astromRefObjLoader.ref_dataset_name = "gaia_dr2_20200414"
# TODO DM-27843: workaround for gen3 not supporting anyFilterMapsToThis
config.astromRefObjLoader.filterMap = {'g': 'phot_g_mean',
'r': 'phot_g_mean',
'i': 'phot_g_mean',
'z': 'phot_g_mean',
'y': 'phot_g_mean'}

config.photoRefObjLoader.filterMap = {'i2': 'i'}
config.photoRefObjLoader.ref_dataset_name = "ps1_pv3_3pi_20170110"

config.connections.astromRefCat = "gaia_dr2_20200414"
config.connections.photoRefCat = "ps1_pv3_3pi_20170110"

config.astrometry.wcsFitter.order = 3
if isinstance(config.astrometry.matcher, MatchOptimisticBTask):
config.astrometry.matcher.maxMatchDistArcSec = 5
config.astrometry.sourceSelector['matcher'].excludePixelFlags = False

config.photoCal.applyColorTerms = True
config.photoCal.photoCatName = "ps1_pv3_3pi_20170110"

# this was the default prior to DM-11521. New default is 2000.
config.deblend.maxFootprintSize=0
Expand Down