Skip to content

Commit

Permalink
Move comCamSim refCat overrides to this obs package
Browse files Browse the repository at this point in the history
  • Loading branch information
yalsayyad committed Feb 22, 2024
1 parent b185c9b commit 46fd089
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/comCamSim/analysisToolsAstrometricCatalogMatch.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"""comCamSim-specific overrides for AstrometricCatalogMatchTask"""

# refCatalog is the connections' defaultTemplate which controls connections
# prerequisite input refCat and output matchedCatalog
config.connections.refCatalog = "uw_stars_20240130"
4 changes: 4 additions & 0 deletions config/comCamSim/analysisToolsPhotometricCatalogMatch.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"""comCamSim-specific overrides for PhotometricCatalogMatchTask"""

config.connections.refCatalog = "uw_stars_20240130"
config.connections.matchedCatalog = "objectTable_tract_uw_stars_20240130_photoMatch"
4 changes: 4 additions & 0 deletions config/comCamSim/gbdesAstrometricFit.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"""
comCamSim-specific overrides for GbdesAstrometricFitTask
"""
config.connections.referenceCatalog = "uw_stars_20240130"
6 changes: 6 additions & 0 deletions config/comCamSim/measureCoaddSources.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"""comCamSim-specific overrides for MeasureMergedCoaddSourcesTask"""

import os.path

config.match.refObjLoader.load(os.path.join(os.path.dirname(__file__), "filterMap.py"))
config.connections.refCat = "uw_stars_20240130"
3 changes: 3 additions & 0 deletions config/comCamSim/refCatObjectAnalysisTask.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"""comCamSim-specific overrides for RefCatObjectAnalysisTask"""

config.connections.refCatalog = "uw_stars_20240130"
3 changes: 3 additions & 0 deletions config/comCamSim/refCatObjectPhotometricAnalysisTask.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"""comCamSim-specific overrides for RefCatObjectPhotometricAnalysisTask"""

config.connections.data = "objectTable_tract_uw_stars_20240130_photoMatch"

0 comments on commit 46fd089

Please sign in to comment.