Translation Sandbox: Difference between revisions

From SPEDAS Wiki
Jump to navigation Jump to search
No edit summary
(Marked this version for translation)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages />
<translate>
<!--T: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 ==
<!--T:14-->
If you want to try your hand at contributing a translation, you should start by reviewing some documentation for the translation extension we're using:
[https://www.mediawiki.org/wiki/Help:Extension:Translate/Translation_example https://www.mediawiki.org/wiki/Help:Extension:Translate/Translation_example]


== Topic == <!--T:2-->
<!--T:3-->
Some important topics in heliophysics include plasma properties, interactions between charged particles and magnetic fields, space weather, and solar activity.
Some important topics in heliophysics include plasma properties, interactions between charged particles and magnetic fields, space weather, and solar activity.


== Another topic ==
== Another topic == <!--T:4-->


<!--T:5-->
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
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.  
service, and also HAPI (Heliophysics Application Program Interface) servers.  


== More stuff ==
== More stuff == <!--T:6-->


<!--T:7-->
PySPEDAS is a Python implementation of SPEDAS, and includes many of the same load routines and analysis tools.
PySPEDAS is a Python implementation of SPEDAS, and includes many of the same load routines and analysis tools.


== An IDL code example ==
== An IDL code example == <!--T:8-->


<!--T:9-->
<syntaxhighlight lang="idl">
<syntaxhighlight lang="idl">
pro some_idl_routine
pro some_idl_routine
Line 25: Line 36:
</syntaxhighlight>
</syntaxhighlight>


== A Python code example ==
== A Python code example == <!--T:10-->


<!--T:11-->
<syntaxhighlight lang="python">
<syntaxhighlight lang="python">
def do_stuff():
def do_stuff():
Line 35: Line 47:
</syntaxhighlight>
</syntaxhighlight>


== Something with a URL ==
== Something with a URL == <!--T:12-->


Go back to the main page: [[spedas.org/wiki]]
<!--T:13-->
Go back to the [https://spedas.org/wiki?title=Main_Page Main Page]
</translate>

Latest revision as of 08:56, 29 December 2023

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

If you want to try your hand at contributing a translation, you should start by reviewing some documentation for the translation extension we're using: https://www.mediawiki.org/wiki/Help:Extension:Translate/Translation_example

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

PySPEDAS is a Python implementation of SPEDAS, and includes many of the same load routines and analysis tools.

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