SciQLop / speasy

Space Physics made EASY! A simple Python package to deal with main Space Physics WebServices (CDA,SSC,AMDA,..)
Other
24 stars 7 forks source link

get_data return None #119

Closed Beforerr closed 7 months ago

Beforerr commented 7 months ago

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 commented 7 months ago

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 commented 7 months ago

@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.

Beforerr commented 7 months ago

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