Parker Solar Probe (PSP)
SPEDAS.PSP — Module
Sub-module for "Parker Solar Probe (PSP)"
To load project, project-specific instrument and dataset variables into scope:
using SPEDAS.PSPConfiguration File: PSP.toml
SPEDAS.PSP.psp — Constant
Project: Parker Solar Probe
Instruments (Dict):
isois: Integrated Science Investigation of the Sun
fields: FIELDS
wispr: Wide-field Imager for Solar Probe
eis: Ephemeris
sweap: Solar Wind Electrons Alphas and Protons
Metadata (Dict):
abbreviation: PSP
links: ["https://hpde.io/SMWG/Observatory/ParkerSolarProbe.html", "[Wikipedia](https://en.wikipedia.org/wiki/Parker_Solar_Probe)"]
spase_id: spase://SMWG/Observatory/ParkerSolarProbeInstruments
SPEDAS.PSP.eis — Constant
Instrument: EphemerisSPEDAS.PSP.fields — Constant
Instrument: FIELDS
Metadata (Dict):
spase_id: spase://SMWG/Instrument/ParkerSolarProbe/FIELDSSPEDAS.PSP.isois — Constant
Instrument: Integrated Science Investigation of the SunSPEDAS.PSP.sweap — Constant
Instrument: Solar Wind Electrons Alphas and ProtonsSPEDAS.PSP.wispr — Constant
Instrument: Wide-field Imager for Solar ProbeDatasets
Examples
using Speasy: SpeasyProduct
using SPEDAS
using CairoMakie, SpacePhysicsMakie
using Unitful
n = DataSet("Density",
[
SpeasyProduct("PSP_SWP_SPI_SF00_L3_MOM/DENS"; labels=["SPI Proton"]),
SpeasyProduct("PSP_SWP_SPC_L3I/np_moment"; labels=["SPC Proton"]),
SpeasyProduct("PSP_FLD_L3_RFS_LFR_QTN/N_elec"; labels=["RFS Electron"]),
SpeasyProduct("PSP_FLD_L3_SQTN_RFS_V1V2/electron_density"; labels=["SQTN Electron"])
]
)DataSet: Density
Data (Array{Product{String, typeof(Speasy.get_data), Dict{Symbol, Vector{String}}}, 1}):
1: cda/PSP_SWP_SPI_SF00_L3_MOM/DENS [get_data]
2: cda/PSP_SWP_SPC_L3I/np_moment [get_data]
3: cda/PSP_FLD_L3_RFS_LFR_QTN/N_elec [get_data]
4: cda/PSP_FLD_L3_SQTN_RFS_V1V2/electron_density [get_data]The DataSets are callable: given a time range, it will return the actual data.
t0 = "2021-08-09T06"
t1 = "2021-08-10T18"
n(t0, t1)4-element Vector{SpeasyVariable{Float32, 2}}:
DENS [Time Range: 2021-08-09T06:00:00.718372352 to 2021-08-10T17:59:58.267416448, Units: cm^-3, Size: (50437, 1)]
np_moment [Time Range: 2021-08-09T06:00:00.827632512 to 2021-08-10T23:59:59.989181056, Units: (All Qs) cm^{-3}, Size: (146729, 1)]
N_elec [Time Range: 2021-08-09T06:00:02.854756608 to 2021-08-10T17:59:56.908615168, Units: cm^{-3}, Size: (34481, 1)]
electron_density [Time Range: 2021-08-09T06:00:02.854756608 to 2021-08-10T17:59:56.908615168, Units: cm^-3, Size: (35354, 1)]# tplot(n(t0, t1)) # get the data first and plot it
tplot(n, t0, t1) # or interactive mode
# Overlay multiple datasets in the same panel
tplot([n], t0, t1)