Skip to content

EUCLID: new method get_sia to access the Simple Image Access Protocol (SIAP) v2.0#3506

Closed
cosmoJFH wants to merge 3 commits intoastropy:mainfrom
esdc-esac-esa-int:ESA_euclid_EUCLIDSWRQ-250_siaps_function_new
Closed

EUCLID: new method get_sia to access the Simple Image Access Protocol (SIAP) v2.0#3506
cosmoJFH wants to merge 3 commits intoastropy:mainfrom
esdc-esac-esa-int:ESA_euclid_EUCLIDSWRQ-250_siaps_function_new

Conversation

@cosmoJFH
Copy link
Copy Markdown
Contributor

Dear astroquery team,

we would like to implement a new method for the Simple Image Access Protocol (SIAP) v2.0 exposed by the Euclid project.

The Euclid Archive applies the following IVOA standard to serve:

  1. Tables (catalogues), via the IVOA Table Access Protocol TAP
  2. Spectra, via the IVOA DataLink prococol.
  3. Images (and cutouts), via the Simple Image Access (SIA)

The new get_sia method will allow users to obtain the “file_name” and “file_path” of the FITS files that contain the observations of the input coordinates.

cc @esdc-esac-esa-int
jira: EUCLIDSWRQ-250

@cosmoJFH cosmoJFH force-pushed the ESA_euclid_EUCLIDSWRQ-250_siaps_function_new branch 2 times, most recently from 7096526 to f9d15be Compare January 21, 2026 20:22
@cosmoJFH cosmoJFH force-pushed the ESA_euclid_EUCLIDSWRQ-250_siaps_function_new branch 2 times, most recently from 66e4f21 to 28a7906 Compare January 21, 2026 21:19
@keflavich
Copy link
Copy Markdown
Contributor

This looks like a great addition.

Could you clarify - does the get_cutout function currently work with an older siap version? Or does it not work at all?

@keflavich
Copy link
Copy Markdown
Contributor

Also the current test failures look like they're caused by incomplete monkeypatching of the remote queries; something is still reaching out to the internet - but I think that's what you're actively debugging as I type.

@cosmoJFH cosmoJFH force-pushed the ESA_euclid_EUCLIDSWRQ-250_siaps_function_new branch 2 times, most recently from f0c4114 to ef64478 Compare January 21, 2026 21:43
@cosmoJFH
Copy link
Copy Markdown
Contributor Author

cosmoJFH commented Jan 21, 2026

Could you clarify - does the get_cutout function currently work with an older siap version? Or does it not work at all?

The get_sia + get_cutout can be seen as analogous to the datalink service, where the get_links (get_sia) serves as the discovery component, and the get_data (get_cutout) acts as the downloading component.

@cosmoJFH cosmoJFH force-pushed the ESA_euclid_EUCLIDSWRQ-250_siaps_function_new branch 2 times, most recently from e22bd68 to 73dd240 Compare January 21, 2026 22:03
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 21, 2026

Codecov Report

❌ Patch coverage is 85.93750% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.08%. Comparing base (9347344) to head (49845eb).
⚠️ Report is 21 commits behind head on main.

Files with missing lines Patch % Lines
astroquery/esa/euclid/core.py 86.66% 8 Missing ⚠️
astroquery/utils/tap/core.py 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3506      +/-   ##
==========================================
+ Coverage   73.04%   73.08%   +0.03%     
==========================================
  Files         219      219              
  Lines       20545    20607      +62     
==========================================
+ Hits        15008    15061      +53     
- Misses       5537     5546       +9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cosmoJFH cosmoJFH force-pushed the ESA_euclid_EUCLIDSWRQ-250_siaps_function_new branch 7 times, most recently from 1204081 to 9552290 Compare January 24, 2026 10:13
@cosmoJFH cosmoJFH force-pushed the ESA_euclid_EUCLIDSWRQ-250_siaps_function_new branch from 9552290 to 4b78397 Compare February 18, 2026 17:59
@cosmoJFH
Copy link
Copy Markdown
Contributor Author

cosmoJFH commented Feb 18, 2026

Hi team, we have planned to make new changes in the Euclid module in our next sprint, but we would need to complete this task beforehand. Do you need us to make any other thing related to this PR?

@cosmoJFH
Copy link
Copy Markdown
Contributor Author

cosmoJFH commented Mar 9, 2026

Hello @bsipocz, we are planning to submit new updates to the Euclid module, but we believe it would be best to close the existing PRs. Would you happen to have some time to look over this one? Thank you in advance.

@cosmoJFH cosmoJFH force-pushed the ESA_euclid_EUCLIDSWRQ-250_siaps_function_new branch from 3f293d4 to 2a9bf67 Compare March 11, 2026 15:31
@cosmoJFH cosmoJFH force-pushed the ESA_euclid_EUCLIDSWRQ-250_siaps_function_new branch from 9abdf02 to bf2ff48 Compare March 11, 2026 15:51
@cosmoJFH cosmoJFH closed this Mar 24, 2026
@cosmoJFH cosmoJFH deleted the ESA_euclid_EUCLIDSWRQ-250_siaps_function_new branch March 24, 2026 23:10
@cosmoJFH
Copy link
Copy Markdown
Contributor Author

cosmoJFH commented Mar 24, 2026

Hi @bsipocz, we made a new branch to include all the new commits and synchronize the branch with the master one, and the PR automatically closed. But this PR is still valid, and we would like merge these changes. Could you reopen it?

@bsipocz
Copy link
Copy Markdown
Member

bsipocz commented Mar 25, 2026

hmm, the PR is closed as you have deleted the branch from the fork. Was that accidental?

(I have a backup copy of the branch locally, and am happy to try to push it back to your fork. I'm not sure if this PR can be reopened from it, but I suppose we'll see? Please let me know)

@cosmoJFH
Copy link
Copy Markdown
Contributor Author

Hi @bsipocz, maybe it could be easier to open a new PR?

@bsipocz
Copy link
Copy Markdown
Member

bsipocz commented Mar 25, 2026

OK, I have a guess what was going on: is it possible that you have renamed the branch to ESA_euclid_EUCLIDSWRQ-250_siaps_function_new_old and created a new, updated one with ESA_euclid_EUCLIDSWRQ-250_siaps_function_new? That rename may have caused this closing of the PR with the weird status that the branch is deleted; even though I see a branch at the latest commit at 49845eb (but with the different name than this PR); and see the same name but with a different, more updated hash.

Either case, I couldn't really force this to reopen, maybe go ahead and indeed open a brand new one? Review should be more quick now that I cleared a lot from the backlog recently.

@cosmoJFH
Copy link
Copy Markdown
Contributor Author

Hi @bsipocz, that is what happened. Sorry for any inconvenience. We will open a new PR.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants