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

DM-46274: Fix filling of masked values in consolidated catalogs #48

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

taranu
Copy link
Contributor

@taranu taranu commented Sep 11, 2024

Fill fills in the entire array; this correctly only changes the masked values.

@@ -408,14 +408,15 @@ def _make_multiband_catalog(
# Otherwise just stack the tables.
else:
multiband_catalog = vstack([multiband_catalog, catalog_next_band])
# Fill any automatically masked values with NaNs.
# Fill any automatically masked values with NaNs if possible (float)
# Otherwise, use the dtype's minimum value (for int, bool, etc.)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minimum, or maximum?

@taranu taranu merged commit 57c5beb into main Sep 13, 2024
7 checks passed
@taranu taranu deleted the tickets/DM-46274 branch September 13, 2024 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants