Skip to content

About

A Julia wrapper around PySPEDAS

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

57 Commits

Folders and files

Repository files navigation

PySPEDAS.jl

Build Status

A Julia wrapper around PySPEDAS: Python-based Space Physics Environment Data Analysis Software.

Quick Start

Load and plot THEMIS FGM data.

using Pkg; Pkg.add("PySPEDAS")
using PySPEDAS

trange=["2007-03-23", "2007-03-24"]
# Load THEMIS FGM data for probe A and return loaded variable names
fgm_vars = pyspedas.projects.themis.fgm(probe='a', trange=trange)

var = get_data("tha_fgl_dsl")

# Plot the 'tha_fgl_dsl' variable using PySPEDAS's `tplot` function (`matplotlib`)
pytplot("tha_fgl_dsl")

If DimensionalData.jl is loaded, variables can be converted with DimArray(var).

You can load projects into scope for quick access:

using PySPEDAS.Projects

trange=["2020-04-20/06:00", "2020-04-20/08:00"]
# Then you can use them directly
mms.fgm(trange, time_clip=true, probe=2)

Each mission is represented as a Project type, which wraps the underlying Python module.

Note

SPEDAS.jl provides a native Julia counterpart.

About

A Julia wrapper around PySPEDAS

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages