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

get_data return None #119

Closed
Beforerr opened this issue Feb 21, 2024 · 3 comments · Fixed by #120
Closed

get_data return None #119

Beforerr opened this issue Feb 21, 2024 · 3 comments · Fixed by #120
Labels
bug Something isn't working

Comments

@Beforerr
Copy link

Beforerr commented Feb 21, 2024

Description

Try to get Wind 3dp data but return nothing

What I Did

start = "2019-04-09"
end = "2019-04-12"
timerange = [start, end]

data = spz.get_data(
    "cda/WI_PLSP_3DP/MOM.P.MAGF",
    timerange,    
)
data == None
@jeandet
Copy link
Member

jeandet commented Feb 21, 2024

I don't understand yet why but it seems that the CDAWeb WS gets stuck with this request:
https://cdaweb.gsfc.nasa.gov/WS/cdasr/1/dataviews/sp_phys/datasets/WI_PLSP_3DP/data/20190408T120000Z,20190412T120000Z/MOM.P.MAGF?format=cdf

It's even weirder because doing the same request through the CDAWeb html form works.

@jeandet jeandet added the bug Something isn't working label Feb 21, 2024
@jeandet
Copy link
Member

jeandet commented Feb 21, 2024

@Beforerr I got an answer from CDAWeb, they are upgrading the server so this might explain why it wasn't responding. It's responding now but I get the same behavior thn you, this is indeed a bug in Speasy because we have to handle the fact that variables names are modified to be IDL compatible I'll push a fix ASAP.

@jeandet jeandet mentioned this issue Feb 21, 2024
@Beforerr
Copy link
Author

@jeandet Thank you for the quick fix! I love speasy!

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

Successfully merging a pull request may close this issue.

2 participants