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

Implemented Groundclients in continuation with #2619 #3763

Closed
wants to merge 86 commits into from

Conversation

abhijeetmanhas
Copy link
Contributor

Description

It is continuation of PR #2619, it implements kanzelhohe, gong, farside, vsm and bbso clients.

@abhijeetmanhas abhijeetmanhas requested review from a team as code owners February 5, 2020 13:16
@pep8speaks
Copy link

pep8speaks commented Feb 5, 2020

Hello @abhijeetmanhas! 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-02-16 19:34:31 UTC

@nabobalis nabobalis added this to the 2.0 milestone Feb 5, 2020
@nabobalis nabobalis added the net Affects the net submodule label Feb 5, 2020
@ayshih
Copy link
Member

ayshih commented Feb 5, 2020

A question: should we render the observatory as "Kanzelhoehe", or even more correctly as "Kanzelhöhe", rather than "Kanzelhohe"?

One reason that I ask is that Kanzelhoehe is spelled differently in another issue than it is here, and that frustrated my initial attempt at searching.

@ayshih
Copy link
Member

ayshih commented Feb 5, 2020

I'll point out that if this PR gets merged, we really ought to fix how Kanzelhohe/Kanzelhoehe/Kanzelhöhe files are read in by sunpy.map (see #1615 and #1615 (comment)).

@abhijeetmanhas
Copy link
Contributor Author

On it .
I'll have to make changes to norh as well, for making it pass tests.

@nabobalis
Copy link
Contributor

There are a lot of doc string changes to be made having glanced over it.

@dstansby
Copy link
Member

dstansby commented Feb 5, 2020

Would it be possible/easy to split this into one PR per source? That would make it a lot easier to review

@abhijeetmanhas
Copy link
Contributor Author

abhijeetmanhas commented Feb 5, 2020 via email

@dstansby
Copy link
Member

dstansby commented Feb 6, 2020

Feel free to leave this PR open if you want, and open other smaller ones that split this one up.

@abhijeetmanhas
Copy link
Contributor Author

abhijeetmanhas commented Feb 6, 2020 via email

@abhijeetmanhas
Copy link
Contributor Author

@nabobalis @dstansby it fails on sunpy/net/dataretriever/tests/test_goes_suvi.py, the file I haven't even touched. So I then even checked with upstream

!git clone https://github.com/sunpy/sunpy.git
%cd sunpy
!pip install -e .[all,dev]
!pytest --remote-data=any sunpy/net/dataretriever/tests/test_goes_suvi.py

But I'm still getting the same errors, why is it so?

@nabobalis
Copy link
Contributor

The servers are broken.

@nabobalis
Copy link
Contributor

Yeah, I say split it up into one PR per client and then one PR for what looks like a bug fix for the scrapper?

Doing so means the commit history will be erased but I am ok with that.

@abhijeetmanhas
Copy link
Contributor Author

abhijeetmanhas commented Feb 17, 2020 via email

@abhijeetmanhas
Copy link
Contributor Author

@nabobalis @dstansby All 4 splits can be reviewed now, it have passed all the tests except suvi and changelog is also there.

@Cadair
Copy link
Member

Cadair commented Feb 18, 2020

A comment about all the clients, we should make sure that the VSO hasn't started indexing these data in the meantime. I am pretty sure you can at least get some GONG data from VSO now.

@ejm4567
Copy link
Contributor

ejm4567 commented Feb 18, 2020

The VSO currently has all the GONG data, available under the provider NSO. We also have KSO data. The BBSO data is currently offline under provider = HANET. We'll let you know when it's restored. I'll have to check on VSM and FARSIDE.

@ejm4567
Copy link
Contributor

ejm4567 commented Feb 18, 2020

The VSO has VSM data as well under provider = NSO and source = SOLIS.
See https://sdac.virtualsolar.org/cgi/show_details?instrument=vsm for details.

The Farside GONG data is currently not available thru the VSO, but is available directly from NSO's farside website.

@abhijeetmanhas
Copy link
Contributor Author

So except kanzelhohe, should PRs about bbso, gong, farside and vsm should be closed?

@Cadair
Copy link
Member

Cadair commented Feb 19, 2020

We should double check that the clients and the VSO are returning exactly the same data products, but if they are we should close them. In my opinion there is no good reason to implement code we have to maintain if the VSO are already doing it for us?

@nabobalis
Copy link
Contributor

nabobalis commented Feb 19, 2020

In my opinion there is no good reason to implement code we have to maintain if the VSO are already doing it for us?

This is mine too. I rather not keep duplicate code if the VSO already handles these sources for us.

@abhijeetmanhas
Copy link
Contributor Author

I don't found data from tucson observatory on VSO, but data can be accessed through GONGClient implemented here.

Also, can't find vector_magnetic_filed equivalence_width physobs data on VSO, but it is accessible in this VSMClient.

There is bbso on VSO, but don't know how to get data from it, as I applied a filter time interval or two years and it displayed something like "no records found" .

I think we have to first check whether the search queries on VSO can search the correct data (same as these clients, if implementation is correct, or verify from official observatories' website) and then is data on VSO is subset of actual data? It is in the case of FARSIDE.
I couldn't find matching data on VSO with same time queries, through these clients and VSO website. It was less for all clients, but this fact should be checked, do VSO have access to all ground client data?

@dpshelio
Copy link
Member

We should double check that the clients and the VSO are returning exactly the same data products, but if they are we should close them. In my opinion there is no good reason to implement code we have to maintain if the VSO are already doing it for us?

If I remember right... I had worked on all these clients mostly because they were providing data in real time whereas VSO was not (needed for SolarMonitor). This may have changed.

@abhijeetmanhas
Copy link
Contributor Author

The VSO has VSM data as well under provider = NSO and source = SOLIS.
See https://sdac.virtualsolar.org/cgi/show_details?instrument=vsm for details.

The Farside GONG data is currently not available thru the VSO, but is available directly from NSO's farside website.

@ejm4567 I feel we can't have access to physobs equivalence width or vector magnetic field through VSO. But it is accessible through client. Can you recheck?

@abhijeetmanhas
Copy link
Contributor Author

The VSO currently has all the GONG data, available under the provider NSO. We also have KSO data. The BBSO data is currently offline under provider = HANET. We'll let you know when it's restored. I'll have to check on VSM and FARSIDE.

@ejm4567 does VSO covers data from tucson observatory too? I couldn't find in their search form.

@dstansby dstansby removed this from the 2.1 milestone May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
net Affects the net submodule
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants