-
-
Notifications
You must be signed in to change notification settings - Fork 582
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
Allow jsocClient to download .tar archives from JSOC #4405
Conversation
Hello @lzivadinovic! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2020-09-02 16:23:46 UTC |
Thanks for opening this PR, sorry I was a bit slow getting to it. I have one major question, but otherwise it looks great. |
I have one question regarding this PR. So, sunpy support Protocol as jsoc.attr but not Method, is there any special reason for this? It felt awkward for me to include protocol in request_data because we support it via attr, so i've omitted it. Also, if we want to support method as jsoc.attr i can add that to PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it's basically there.
cd = drms.Client(email=block.get('notify', '')) | ||
protocol = block.get('protocol', 'fits') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't have to fix this here, but it feels weird that email, protocol and notify are not all the same?
Co-authored-by: Nabil Freij <nabil.freij@gmail.com>
Stupid question: To use fido with this, you would pass in |
This doesn't add Fido support at the moment |
Should i rebase this PR? |
It seems read the docs is just very upset, I think we are fine to merge this as expected fails. |
Description
This PR allows JSOCClient to download all staged files as single .tar archive while still maintaining file list in base object.
Fixes #4291