Skip to content

update observation table to use contains point endpoint - #47

Open
crpellegrino wants to merge 1 commit into
devfrom
45-update-observation-table-to-use-contains-point-endpoint
Open

crpellegrino wants to merge 1 commit into
devfrom
45-update-observation-table-to-use-contains-point-endpoint

Conversation

@crpellegrino

Copy link
Copy Markdown
Collaborator

This PR changes the ACROSS server observation lookup call to use the contains-point endpoint, rather than a cone search. This is to provide more accurate information on the observations that contained the target in the field of view. As a result, cone search defaults are removed from the API call and from the form search components.

I also added functionality to parse a list of observatory_names in the ACROSS DEFAULT ARGS settings into corresponding IDs. This is to easily limit the returned data so that the returns aren't polluted with lots of wide field images from missions like Fermi and Swift BAT, unless a user wants that data.

Note that the "View in ACROSS" button on the top right links to the ACROSS observation UI, which still does a cone search lookup. We can discuss if this should be removed or if a clarification should be added.

Testing

  1. Make sure your across-client dependency is updated to v1.4 or later
  2. Try loading the across tab on a target page and ensure results load
  3. Try adding default observatory names in your settings and verify the expected observations are returned on page refresh

@crpellegrino crpellegrino linked an issue Nov 24, 2026 that may be closed by this pull request
@jchate6 jchate6 moved this to Needs Review in TOM Toolkit Nov 25, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

Update observation table to use contains-point endpoint

1 participant