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

Generate catalog MOC on search filters #378

Open
camposandro opened this issue Oct 15, 2024 · 0 comments
Open

Generate catalog MOC on search filters #378

camposandro opened this issue Oct 15, 2024 · 0 comments

Comments

@camposandro
Copy link
Contributor

If a catalog does not have a MOC and we perform a search on it the resulting catalog is also left without a MOC.

https://github.com/astronomy-commons/hipscat/blob/405bebed908fc79495a057163e1b95d5134b6fde/src/hipscat/catalog/healpix_dataset/healpix_dataset.py#L198-L200

We could generate it from the catalog's pixel tree and intersect it with the search MOC, similar to what we have for crossmatching:

https://github.com/astronomy-commons/hipscat/blob/405bebed908fc79495a057163e1b95d5134b6fde/src/hipscat/pixel_tree/pixel_alignment.py#L446-L447

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant