Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calibration API in results should return blue plot, not photometry #214

Closed
wyrzykow opened this issue Oct 19, 2024 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@wyrzykow
Copy link
Contributor

Currently, get-calibration-res API returns in JSON form the plot (when getPlot=True) with the entire photometry (light curve).
Instead, it should return the plot with the calibration results (one plot with many subplots for each filter, blue).
This plot is now returned (as png) in photometric data upload, but should also be available through get-calibration-res.

Additionally, instead of files, the request should allow for either a list of calibids, e.g.
calibid : [12345,234556]
or
filename : ['cat-Gaia19eyy-ROAD-not-matched.dat']

However, I think currently the call with filename does not work. I tried with
'files':['cat-Gaia19eyy-ROAD-not-matched.dat'],
or
'files':['296_cat-Gaia19eyy-ROAD-not-matched.dat'],
(which is the actual filename this file was stored)
for this point https://bh-tom2.astrolabs.pl/dataproducts/data/267687/

but always got the error: {'Error': 'File does not exist in the database'}

@wyrzykow wyrzykow added the bug Something isn't working label Oct 19, 2024
@wyrzykow
Copy link
Contributor Author

remember to edit the documentation after changing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants