Skip to content

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

Open
cosmoJFH wants to merge 1 commit intoastropy:mainfrom
esdc-esac-esa-int:ESA_euclid_EUCLIDSWRQ-250_siaps_function_new
Open

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

Conversation

@cosmoJFH
Copy link
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
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
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
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

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 72.71%. Comparing base (3881ee9) to head (4b78397).
⚠️ Report is 1 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   72.67%   72.71%   +0.03%     
==========================================
  Files         219      219              
  Lines       20485    20547      +62     
==========================================
+ Hits        14887    14940      +53     
- Misses       5598     5607       +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
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?

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.

2 participants

Comments