Translation Sandbox: Difference between revisions

From SPEDAS Wiki
Jump to navigation Jump to search
(Created page with "This page is a place to play with the language translation features without damaging the wiki contents. === Topic === === Another topic === === More stuff === === A code example === pro some_idl_routine timespan,'2007-03-23' thm_load_state,probe='a',/get_support tplot,['tha_state_pos','tha_state_vel'] end")
 
No edit summary
Line 1: Line 1:
This page is a place to play with the language translation features without damaging the wiki contents.
This page is a place to play with the language translation features without damaging the wiki contents.


=== Topic ===
== Topic ==


=== Another topic ===
Some important topics in heliophysics include plasma properties, interactions between charged particles and magnetic fields, space weather, and solar activity.


=== More stuff ===
== Another topic ==


=== A code example ===
SPEDAS has plugins for the MMS, THEMIS, ERG/Arase, and GOES missions, along with many others.  It also supports downloading data via NASA's CDAWeb
service, and also HAPI (Heliophysics Application Program Interface) servers.


== More stuff ==


== An IDL code example ==
<syntaxhighlight lang="idl"
pro some_idl_routine
pro some_idl_routine
  ; An IDL routine that does some stuff
  timespan,'2007-03-23'
  thm_load_state,probe='a',/get_support
  tplot,['tha_state_pos','tha_state_vel']
end
</syntaxhighlight>


timespan,'2007-03-23'
== A Python code example ==
 
thm_load_state,probe='a',/get_support


tplot,['tha_state_pos','tha_state_vel']
<syntaxhighlight lang="python">
def do_stuff():
  from pyspedas import themis
  from pytplot import tplot
  themis.state(trange=['2007-03-23','2007-03-24'], probe='a', get_support_data=True)
  tplot(['tha_state_pos','tha_state_vel'])
</syntaxhighlight>


end
== Something with a URL ==
Go back to the main page:  [[spedas.org/wiki]]

Revision as of 07:16, 29 December 2023

This page is a place to play with the language translation features without damaging the wiki contents.

Topic

Some important topics in heliophysics include plasma properties, interactions between charged particles and magnetic fields, space weather, and solar activity.

Another topic

SPEDAS has plugins for the MMS, THEMIS, ERG/Arase, and GOES missions, along with many others. It also supports downloading data via NASA's CDAWeb service, and also HAPI (Heliophysics Application Program Interface) servers.

More stuff

An IDL code example

<syntaxhighlight lang="idl" pro some_idl_routine

  ; An IDL routine that does some stuff
  timespan,'2007-03-23'
  thm_load_state,probe='a',/get_support
  tplot,['tha_state_pos','tha_state_vel']

end </syntaxhighlight>

A Python code example

<syntaxhighlight lang="python"> def do_stuff():

  from pyspedas import themis
  from pytplot import tplot
  themis.state(trange=['2007-03-23','2007-03-24'], probe='a', get_support_data=True)
  tplot(['tha_state_pos','tha_state_vel'])

</syntaxhighlight>

Something with a URL

Go back to the main page: spedas.org/wiki