Difference between revisions of "Welcome to Geosciences Modeling Wiki"

From mn/geo/geoit
Jump to: navigation, search
(Some Open Source Projects and Tools at NILU)
(Some Open Source Projects and Tools at NILU)
Line 7: Line 7:
 
== Some Open Source Projects and Tools at NILU==
 
== Some Open Source Projects and Tools at NILU==
  
* [[FLEXPART_Model]]
+
===[[FLEXPART_Model]]
* [[Python]]
+
===[[Python]]
* Tools for [[WorkingOnServers]] at NILU.
+
===Tools for [[WorkingOnServers]] at NILU.
* General [[Fortran]] Tips
+
===General [[Fortran]] Tips
* [[Matlab]] (Not open source, but extensively used)
+
===[[Matlab]] (Not open source, but extensively used)
  
  

Revision as of 14:57, 27 September 2011

Welcome to the NILU Open Source Wiki. The purpose of these pages is to provide information on software tools available for data analysis and scientific program for NILU projects. It is not exclusively meant for Open Source software, so if you have tips and tricks for other software, feel free to include it here as well.


NOTE: While we are requiring registration, and have the pages hidden from anonymous viewers, the pages are public facing, meaning they may be visible to users outside of NILU. Please be thoughtful when posting scripts or information on the system infrastructure. Jfb 12:50, 14 September 2011 (CEST)


Some Open Source Projects and Tools at NILU

===FLEXPART_Model ===Python ===Tools for WorkingOnServers at NILU. ===General Fortran Tips ===Matlab (Not open source, but extensively used)














Editing pages on the niluOS MediaWiki

A good starting place for markup reference can be found here: http://meta.wikimedia.org/wiki/Help:Wikitext_examples

Note that these MediaWiki pages contain a mix of RestructuredText and MediaWiki Markup. RestructuredText is a powerful markup language, and particularly useful for documenting Python code, especially when coupled with Python/Sphinx for making code documentation. However, to gain the navigation features of MediaWiki, it is recommended to use the mediawiki default markup here. Still, if you would prefer RestructuredText then you can use it as well by simply placing your markup between <rst> ... </rst> tags.

Editing Source Code

Note that for the purposes of documenting source code there are two important features:

  1. use the <code> ... </code> to show some simple code snippets: def foo(): return
  2. The source code extension has been installed, so you can wrap source code examples in <source> tags. This is helpful for documenting a code example and supports many languages. Usage is simple. Here's an example of how to display some 'Hello World' source code examples:
<source lang='cs'>
//Hello World in C#
class HelloWorld
{
    static void Main()
    {
        System.Console.WriteLine("Hello, World!");
    }
}

</source>
<source lang='cpp'>
// Hello World in C++ (pre-ISO)

#include <iostream.h>

main()
{
    cout << "Hello World!" << endl;
    return 0;
}



</source>
<source lang='py'>
# Hello World in Python
print("Hello World")
</source>

Results in:

//Hello World in C#
class HelloWorld
{
    static void Main()
    {
        System.Console.WriteLine("Hello, World!");
    }
}

C++
	Back to index
// Hello World in C++ (pre-ISO)

#include <iostream.h>

main()
{
    cout << "Hello World!" << endl;
    return 0;
}
# Hello World in Python
print("Hello World")

Other Resources

Consult the User's Guide for information on using the wiki software. See Also:


/Reference