using Speasy: get_data
using SPEDAS
# da = get_data("amda/imf", "2016-6-2", "2016-6-5")
da = get_data("cda/OMNI_HRO_1MIN/Pressure", "2016-6-2", "2016-6-5")
Speasy.SpeasyVariable{Float32, 2, Tuple{Vector{Dates.DateTime}, PythonCall.Wrap.PyList{Any}}}: Pressure
Time Range: 2016-06-02T00:00:00 to 2016-06-04T23:59:00
Units: nPa
Size: (4320, 1)
Memory Usage: 85.365 KiB
Metadata:
FIELDNAM: Flow pressure
VALIDMIN: Any[0.0]
VALIDMAX: Any[100.0]
SCALEMIN: Any[0.0]
SCALEMAX: Any[100.0]
UNITS: nPa
FORMAT: F5.2
FILLVAL: Any[99.98999786376953]
VAR_TYPE: data
CATDESC: Flow pressure (nPa)
VAR_NOTES: Derived parameters are obtained from the following equations. Flow pressure = (2*10**-6)*Np*Vp**2 nPa (Np in cm**-3, Vp in km/s, subscript p for proton)
DISPLAY_TYPE: time_series
DEPEND_0: Epoch
LABLAXIS: Flow pressure
BIN_LOCATION: 0.0
tplot(da)

using HAPIClient: get_data
da = get_data("CDAWeb/AC_H0_MFI/Magnitude,BGSEc", "2001-1-2", "2001-1-2T12")
2-element Vector{HAPIClient.HAPIVariable{Float64, N, A, Vector{Dates.DateTime}} where {N, A<:AbstractArray{Float64, N}}}:
Magnitude [Time Range: 2001-01-02T00:00:15 to 2001-01-02T11:59:58, Units: nT, Size: (2700,)]
BGSEc [Time Range: 2001-01-02T00:00:15 to 2001-01-02T11:59:58, Units: nT, Size: (2700, 3)]
using SPEDAS
tplot(da)
