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

Config bug #14

Merged
merged 2 commits into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions configs/gaia_xp_synth_ps_des_sdss_sm_ingest.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ The data can be found at '/sdf/group/rubin/g/project/the_monster/SYNTH_LSST'

config drafted by Peter Ferguson ([email protected])

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
Expand All @@ -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'
Expand Down Expand Up @@ -52,11 +53,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',
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/the/monster/refcats.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down