-
-
Notifications
You must be signed in to change notification settings - Fork 573
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
Create a new Fido client that downloads ADAPT magnetograms. #7152
Comments
I have written this code and I need to integrate it into the main sunpy code. |
We would need to discuss with @sunpy/lead-developers to see if we want to accept more clients into sunpy directly but if you would like, sending in a pull request would be great. If you need help with that, please let me know and I can help get the client added to sunpy! |
Hi Nabil,
I was talking to Stuart and Will Barnes at the SPD meeting on Monday and they thought it would be really useful since the ADAPT maps are being used more and more over time. I actually already have the code working (though not perfectly sunpy-ified yet)!
In terms of the pull request, I made a sunpy-dev environment, I forked the main repo and now it’s my own copy<https://github.com/GillySpace27/sunpy>, and I’ve started copying the code into it next to the other clients. I’m not really sure how to make real tests, but I have some code that runs and makes sure everything is working. Am I supposed to make a branch, commit to that, then eventually make the pull request? Or is it ok to just work on the main branch since I’m only touching the one thing? Any other advice would be appreciated!
Thanks,
Gilly
From: Nabil Freij ***@***.***>
Date: Thursday, August 17, 2023 at 10:04 AM
To: sunpy/sunpy ***@***.***>
Cc: Gilbert, Gilly ***@***.***>, Author ***@***.***>
Subject: Re: [sunpy/sunpy] Create a new Fido client that downloads ADAPT magnetograms. (Issue #7152)
[EXTERNAL EMAIL]
We would need to discuss with @sunpy/lead-developers<https://urldefense.com/v3/__https:/github.com/orgs/sunpy/teams/lead-developers__;!!D-JDmu3Lc2wo0Jiybg!dGAVcjdLc3JF7DJub9WMTDZrC7X156zCXm1RGcSUBg-BTURfyX7bpLuyuRWBXg-KVZE-jMbyMFAlEplK72B8$> to see if we want to accept more clients into sunpy directly but if you would like, sending in a pull request would be great.
If you need help with that, please let me know and I can help get the client added to sunpy!
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https:/github.com/sunpy/sunpy/issues/7152*issuecomment-1682446653__;Iw!!D-JDmu3Lc2wo0Jiybg!dGAVcjdLc3JF7DJub9WMTDZrC7X156zCXm1RGcSUBg-BTURfyX7bpLuyuRWBXg-KVZE-jMbyMFAlErdzme1X$>, or unsubscribe<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AC3B6UOSYO754ASYUQLF553XVYXGNANCNFSM6AAAAAA3UDZAFE__;!!D-JDmu3Lc2wo0Jiybg!dGAVcjdLc3JF7DJub9WMTDZrC7X156zCXm1RGcSUBg-BTURfyX7bpLuyuRWBXg-KVZE-jMbyMFAlEnXrV7bH$>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
That is good to know!
I would suggest just copying one of the other test files and then adjusting it for the output from your client. Then we can go from there.
Ideally it is better if you use a new branch, this allows you to keep your fork's main up to date. |
I had a chat to some VSO people, and they are planning on having these data in the VSO, but they are not sure when. I am happy to have a client added until it becomes redundant. |
Hey @nabobalis , I dont see the pr here . Is this feature request still relevant ? |
Yes |
Great , as far as I understand we need to make a subclass of the generic scraper client .. I suppose There wont be much difference and the skeletal code could be the same as other sub clients ? @nabobalis . |
Hopefully |
@nabobalis , I don't have much experience with clients , can you suggest a client whose behaviour should be the same as this one . I mean I would like to go through the structure of the directory once , what all attributes will be required etc ... |
Err, I'm not familiar with the ADATA data server, but I would suggest any client under the datasources folder. All of them implement a scraper client that is useful to look at. Do say if that's not helpful. |
Hi Folks, I actually already implemented the ADAPTClient, which I'll share here with you as a first step. I'll try to figure out the "correct" way to share it tomorrow.
|
woah , great @GillySpace27 . Since I have little to no idea of adapt maps I am sorry that I am asking such question !. what |
I've just made a draft pull request here: #7463 |
oh , great . I was planning to raise the pr but nevermind 😅. Moreover I don't see the search and the fetch methods implemented (I hope i am not missing out something ). @nabobalis can you suggest some issue for me ? . It seems i am finding a tough time to find one . |
I would suggest looking at good first issues or package novice issues for something that catches your eye. |
Describe the feature
I want to use FIDO to download ADAPT magnetograms.
Proposed solution
There are many clients. This one would work as a subclass of Generic Client!
The text was updated successfully, but these errors were encountered: