Usage examples: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Stub for some very introductory examples for first-time users.") |
No edit summary |
||
Line 1: | Line 1: | ||
Some introductory scripts that you can use with IDL and SPEDAS. | |||
== 1. MMS data analysis using SPEDAS: an introduction == | |||
This video shows a step-by-step introduction on how to use SPEDAS to make a simple plot: | |||
http://www.youtube.com/watch?v=390FguKn7w4 | |||
The script used, can be used as a | |||
<code> | |||
pro test_mms1 | |||
mms_init | |||
; Select a time range | |||
trange = ['2015-09-01/21:15', '2015-09-01/21:25'] | |||
; Select a probe | |||
probe = 1 | |||
; Load FGM data | |||
mms_load_fgm, probe=probe, trange=trange, level='l2' | |||
; Load position data | |||
mms_load_mec, probe=probe, trange=trange, level='l2' | |||
; Select quantities to plot | |||
vars = ['mms1_fgm_b_gsm_srvy_l2', 'mms1_mec_r_gsm'] | |||
; Plot data | |||
tplot, vars | |||
end | |||
</code> |
Revision as of 21:15, 7 April 2016
Some introductory scripts that you can use with IDL and SPEDAS.
1. MMS data analysis using SPEDAS: an introduction
This video shows a step-by-step introduction on how to use SPEDAS to make a simple plot:
http://www.youtube.com/watch?v=390FguKn7w4
The script used, can be used as a
pro test_mms1
mms_init
; Select a time range
trange = ['2015-09-01/21:15', '2015-09-01/21:25']
; Select a probe
probe = 1
; Load FGM data
mms_load_fgm, probe=probe, trange=trange, level='l2'
; Load position data
mms_load_mec, probe=probe, trange=trange, level='l2'
; Select quantities to plot
vars = ['mms1_fgm_b_gsm_srvy_l2', 'mms1_mec_r_gsm']
; Plot data
tplot, vars
end