-
Notifications
You must be signed in to change notification settings - Fork 5
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
U/jrbogart/remove sncosmo #105
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok, but it's hard to judge reliability without code that tests the new pointsource catalogs with multiple row groups. I don't recall, have you already created catalog files with this code?
skycatalogs/catalog_creator.py
Outdated
@@ -295,12 +295,16 @@ def __init__(self, parts, area_partition=None, skycatalog_root=None, | |||
_cosmo_cat = 'cosmodc2_v1.1.4_image_addon_knots' | |||
_diffsky_cat = 'roman_rubin_2023_v1.1.2_elais' | |||
_star_db = '/global/cfs/cdirs/lsst/groups/SSim/DC2/dc2_stellar_healpixel.db' | |||
_sn_db = '/global/cfs/cdirs/lsst/groups/SSim/DC2/cosmoDC2_v1.1.4/sne_cosmoDC2_v1.1.4_MS_DDF_healpix.db' | |||
# _sn_db = '/global/cfs/cdirs/lsst/groups/SSim/DC2/cosmoDC2_v1.1.4/sne_cosmoDC2_v1.1.4_MS_DDF_healpix.db' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like this line should just be deleted.
skycatalogs/catalog_creator.py
Outdated
# self._sn_truth = sn_truth | ||
# if self._sn_truth is None: | ||
# self._sn_truth = _sn_db |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just delete?
I'll get rid of the unneeded commented-out lines before merging. |
Remove support for sncosmo object type. Includes removal of sncosmo dependency.
Allow sky catalogs pointsource files to have more than one row group of stars.