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

[New] Method to check whether a coordinate is covered by HSC #9

Closed
dr-guangtou opened this issue Jun 5, 2019 · 2 comments
Closed
Assignees

Comments

@dr-guangtou
Copy link
Owner

  • There are multiple ways to do this using SQL search, but neither is fast enough to check a large number of galaxies.
  • If we could keep a copy of the Tract/Patch information of HSC footprints, there might be faster way to do this.

Will think more on this...

@dr-guangtou dr-guangtou self-assigned this Jun 5, 2019
@dr-guangtou
Copy link
Owner Author

Here is how to do it using SQL search:

-- Find coadded patch images SELECT pdr2_wide.mosaic.tract , pdr2_wide.mosaic.patch , pdr2_wide.mosaic.filter01 FROM pdr2_wide.mosaic JOIN public.skymap USING (skymap_id) WHERE patch_contains(patch_area, wcs, 35, 40)

@dr-guangtou
Copy link
Owner Author

This is done with the recent commit, but it is slow and not perfect.

In fact, just try to generate image at that location and see what's going on might be faster...

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

No branches or pull requests

1 participant