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

Enable photometry downloads #96

Closed
Tracked by #54
bfhealy opened this issue Sep 9, 2022 · 2 comments
Closed
Tracked by #54

Enable photometry downloads #96

bfhealy opened this issue Sep 9, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@bfhealy
Copy link
Collaborator

bfhealy commented Sep 9, 2022

Feature Summary
We currently have code to make and upload photometry (within fritz.py, called by scope_upload_classification.py). It would also be helpful to have the ability to programmatically download photometry.

Usage / behavior
This functionality could be implemented within scope_download_classification.py, toggled by an optional keyword. It should save the user's requested photometry locally.

Implementation details
This may need to be implemented in the section of the code that loops over each individual source. I am not aware of a current way to download photometry in bulk for multiple sources.

@bfhealy bfhealy added the enhancement New feature or request label Sep 9, 2022
@bfhealy bfhealy mentioned this issue Sep 9, 2022
48 tasks
@mcoughlin
Copy link
Collaborator

@bfhealy Theo has code here for this: https://github.com/Theodlz/skyportal-dumps/blob/main/dump_skyportal.py#L741 that should be easy enough to incorporate.

@bfhealy
Copy link
Collaborator Author

bfhealy commented Aug 4, 2023

In fritz.py, get_lightcurves_via_coords and get_lightcurves_via_ids serve this purpose.

@bfhealy bfhealy closed this as completed Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants