Skip to content

ESA Plato Astroquery module#3573

Open
jespinosaar wants to merge 12 commits intoastropy:mainfrom
esdc-esac-esa-int:ESA_plato-new-module
Open

ESA Plato Astroquery module#3573
jespinosaar wants to merge 12 commits intoastropy:mainfrom
esdc-esac-esa-int:ESA_plato-new-module

Conversation

@jespinosaar
Copy link
Copy Markdown
Contributor

Dear Astroquery Team,

Many thanks for merging PR #3511. With this, we can now proceed with the new module we already discussed.

We have been preparing a module for the PLATO Archive, to be available for the Guest Observer call for proposals, providing relevant information that may be helpful for astronomers. For this, if possible, we would like to iterate with you and merge this branch as soon as possible, so we have a pre-released version right after this is merged. You can find more information here:

https://www.cosmos.esa.int/web/plato/getting-ready

With this, we have prepared a module based on the EsaTap class we have already discussed, together with specific methods to retrieve data from these catalogues. As you will see, there is also a method to plot data, but we are detecting there if matplotlib is imported and, if not, it raises an exception. This method is also relevant, as it mimics the behavior of an application that is currently used, providing the same features in python script to our users.

With respect to tests, you will see that we have the offline tests and the documentation tests are set to be skipped. This is due to the URL of the TAP, currently not available for the public audience, but it will be opened next week. Right after the Archive is public, we will create another pull request to remove the SKIP clauses and add the remote tests, that we already have.

Many thanks for your support! Please let us know any comment you have.

Kind regards,
@jespinosaar

cc @esdc-esac-esa-int

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 31, 2026

Codecov Report

❌ Patch coverage is 88.60759% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.16%. Comparing base (dbf41fd) to head (7fccb7c).
⚠️ Report is 68 commits behind head on main.

Files with missing lines Patch % Lines
astroquery/esa/plato/core.py 85.93% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3573      +/-   ##
==========================================
+ Coverage   73.10%   73.16%   +0.06%     
==========================================
  Files         224      226       +2     
  Lines       20839    20918      +79     
==========================================
+ Hits        15234    15305      +71     
- Misses       5605     5613       +8     

☔ 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.

@jespinosaar
Copy link
Copy Markdown
Contributor Author

After some iterations, I managed to pass all the checks. @bsipocz , please let me know if you have any comment

@jespinosaar
Copy link
Copy Markdown
Contributor Author

Just added the latest changes in the manual.

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