GAIA: update the method gaia load data returns the path of the downloaded DataLink archive - #3673
Conversation
|
The proposed API seems fine to me. This should be accompanied by a warning, since it will change the output of An alternative approach is to leave the default behavior as-is ( I may slightly prefer the latter but I don't feel strongly. I'll check what we do elsewhere in astroquery... |
84e1f46 to
ff2fa5a
Compare
Hi @keflavich, thanks for your feedback. I will discuss this alternative implementation with the rest of the team. |
a5983b0 to
2090536
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3673 +/- ##
==========================================
+ Coverage 73.76% 73.80% +0.03%
==========================================
Files 230 230
Lines 21570 21575 +5
==========================================
+ Hits 15911 15923 +12
+ Misses 5659 5652 -7 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
What kind of warning should we include? We included the following warning message at the beginning of the method Could you provide an example? |
6295371 to
2eb645b
Compare
fb3e3c6 to
d449dcb
Compare
Dear Astroquery team,
we have opened this PR since we'd like to update the
Gaia.load_datamethod to return the path of the downloaded DataLink archive whendump_to_file=True.Currently,
load_dataprints the generated archive path but does not make it available programmatically. Returning the path allows users to directly access and process downloaded products, which is particularly useful for the upcoming Gaia DR4 residual_image products.We have implemented the following changes:
Nonewhendump_to_file=False.dump_to_file=True.Example
cc @esdc-esac-esa-int
jira: GAIASA-3522