From be7fc90452c8a278cbed6a8b970715ff40c4ee03 Mon Sep 17 00:00:00 2001 From: psferguson Date: Sat, 16 Dec 2023 09:56:57 -0800 Subject: [PATCH 1/2] change sdssstd colum name --- configs/gaia_xp_synth_ps_des_sdss_sm_ingest.cfg | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/configs/gaia_xp_synth_ps_des_sdss_sm_ingest.cfg b/configs/gaia_xp_synth_ps_des_sdss_sm_ingest.cfg index 9e715fa..f4c097e 100644 --- a/configs/gaia_xp_synth_ps_des_sdss_sm_ingest.cfg +++ b/configs/gaia_xp_synth_ps_des_sdss_sm_ingest.cfg @@ -52,11 +52,11 @@ config.mag_column_list=[ 'Decam_flux_i', 'Decam_flux_z', 'Decam_flux_Y', - 'SdssStd_mag_u', - 'SdssStd_mag_g', - 'SdssStd_mag_r', - 'SdssStd_mag_i', - 'SdssStd_mag_z', + 'SdssStd_flux_u', + 'SdssStd_flux_g', + 'SdssStd_flux_r', + 'SdssStd_flux_i', + 'SdssStd_flux_z', 'SkyMapper_flux_u', 'SkyMapper_flux_u2', 'SkyMapper_flux_g', From 31a1c28b64717f2a5c08650a804fd1bfecb8fcad Mon Sep 17 00:00:00 2001 From: psferguson Date: Mon, 18 Dec 2023 04:40:15 -0800 Subject: [PATCH 2/2] updated refcat path --- configs/gaia_xp_synth_ps_des_sdss_sm_ingest.cfg | 5 +++-- python/lsst/the/monster/refcats.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/configs/gaia_xp_synth_ps_des_sdss_sm_ingest.cfg b/configs/gaia_xp_synth_ps_des_sdss_sm_ingest.cfg index f4c097e..1f0c8cc 100644 --- a/configs/gaia_xp_synth_ps_des_sdss_sm_ingest.cfg +++ b/configs/gaia_xp_synth_ps_des_sdss_sm_ingest.cfg @@ -4,7 +4,8 @@ The data can be found at '/sdf/group/rubin/g/project/the_monster/SYNTH_LSST' config drafted by Peter Ferguson (peter.ferguson@gmail.com) -convertReferenceCatalog ./sharded_refcats/ ~/u/repos/the_monster/configs/gaia_xp_synth_ps_des_sdss_sm_ingest.cfg 'GAIA_XP_PS1_SDSS_SM_DES/*.fits' > sharded_refcats/convert-gaia_xp_ps_des_sdss_sm.log 2>&1 +convertReferenceCatalog ./sharded_refcats/ ~/u/repos/lsst_dm/the_monster/configs/gaia_xp_synth_ps_des_sdss_sm_ingest.cfg 'GAIA_XP_PS1_SDSS_SM_DES/*.fits' > sharded_refcats/convert-gaia_xp_ps_des_sdss_sm_v2.log 2>&1 + """ from lsst.meas.algorithms.readFitsCatalogTask import ReadFitsCatalogTask from lsst.meas.algorithms import convertRefcatManager @@ -14,7 +15,7 @@ config.manager.retarget(convertRefcatManager.ConvertGaiaXpManager) config.file_reader.retarget(ReadFitsCatalogTask) # String to pass to the butler to retrieve persisted files. -config.dataset_config.ref_dataset_name='gaia_xp_ps_des_sdss_sm_20221216' +config.dataset_config.ref_dataset_name='gaia_xp_ps_des_sdss_sm_20231216' config.dataset_config.indexer.name='HTM' diff --git a/python/lsst/the/monster/refcats.py b/python/lsst/the/monster/refcats.py index 1986026..a310b8b 100644 --- a/python/lsst/the/monster/refcats.py +++ b/python/lsst/the/monster/refcats.py @@ -324,7 +324,7 @@ def get_imz_color_range(self): class GaiaXPInfo(RefcatInfo): - PATH = "/sdf/data/rubin/shared/the_monster/sharded_refcats/gaia_xp_ps_des_sdss_sm_20221216" + PATH = "/sdf/data/rubin/shared/the_monster/sharded_refcats/gaia_xp_ps_des_sdss_sm_20231216" NAME = "GaiaXP" FLAG = 8 bands = ["g", "r", "i", "z", "y"]