From 5b1021d6b2d214ca4d3f31419d70d2596c18f43f Mon Sep 17 00:00:00 2001 From: Yusra AlSayyad Date: Fri, 15 Mar 2024 14:40:06 -0700 Subject: [PATCH] Configure visit-level refcat match tasks for ComCamSim --- config/comCamSim/analysisToolsPhotometricCatalogMatchVisit.py | 1 + config/comCamSim/refCatSourceAnalysisTask.py | 3 +-- config/comCamSim/refCatSourcePhotometricAnalysisTask.py | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 config/comCamSim/refCatSourcePhotometricAnalysisTask.py diff --git a/config/comCamSim/analysisToolsPhotometricCatalogMatchVisit.py b/config/comCamSim/analysisToolsPhotometricCatalogMatchVisit.py index 262dc528f..77dbda99d 100644 --- a/config/comCamSim/analysisToolsPhotometricCatalogMatchVisit.py +++ b/config/comCamSim/analysisToolsPhotometricCatalogMatchVisit.py @@ -4,4 +4,5 @@ configDir = os.path.dirname(__file__) config.referenceCatalogLoader.refObjLoader.load(os.path.join(configDir, 'filterMap.py')) +config.connections.refCatalog = "uw_stars_20240228" config.referenceCatalogLoader.doApplyColorTerms = False diff --git a/config/comCamSim/refCatSourceAnalysisTask.py b/config/comCamSim/refCatSourceAnalysisTask.py index 9e2b47496..6da94eb99 100644 --- a/config/comCamSim/refCatSourceAnalysisTask.py +++ b/config/comCamSim/refCatSourceAnalysisTask.py @@ -1,4 +1,3 @@ """comCamSim-specific overrides for RefCatSourceAnalysisTask""" -config.connections.refCatalog = "uw_stars_20240228" -config.connections.outputName = "sourceTable_visit_uw_stars_20240228_match" +config.connections.data = "sourceTable_visit_uw_stars_20240228_match" diff --git a/config/comCamSim/refCatSourcePhotometricAnalysisTask.py b/config/comCamSim/refCatSourcePhotometricAnalysisTask.py new file mode 100644 index 000000000..84c4d00be --- /dev/null +++ b/config/comCamSim/refCatSourcePhotometricAnalysisTask.py @@ -0,0 +1,3 @@ +"""comCamSim-specific overrides for RefCatSourcePhotometricAnalysisTask""" + +config.connections.data = "sourceTable_visit_uw_stars_20240228_photoMatch"