Skip to content

Commit

Permalink
Tweak the filter list for transformObjectCatalog
Browse files Browse the repository at this point in the history
This ticket changes how this config.filterMap is used in
determining the output schema. With this change, only the
filters we want to include in the output should be listed
in this task config.
  • Loading branch information
hsinfang committed Jan 17, 2020
1 parent c1fa266 commit 5b58278
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/hsc/transformObjectCatalog.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import os
from lsst.utils import getPackageDir

config.load(os.path.join(getPackageDir("obs_subaru"), "config", "hsc", "filterMap.py"))
for filt, filtShort in [("HSC-G", "g"), ("HSC-R", "r"), ("HSC-I", "i"),
("HSC-Z", "z"), ("HSC-Y", "y")]:
config.filterMap[filt] = filtShort
config.functorFile = os.path.join(getPackageDir("obs_subaru"), 'policy', 'Object.yaml')

0 comments on commit 5b58278

Please sign in to comment.