Difference between revisions of "Welcome to Geosciences Modeling Wiki"

From mn/geo/geoit
Jump to: navigation, search
(Editing Source Code)
Line 1: Line 1:
 
Welcome to the Geosciences Modeling and Data Science Wiki. The purpose of these pages is to provide information on software tools available for data analysis and scientific program for projects within Geosciences. Overall, the objective of this site is to create a 'go to' location where incoming students who will be working with modeling and heavy data analysis on servers can find tips for getting started.
 
Welcome to the Geosciences Modeling and Data Science Wiki. The purpose of these pages is to provide information on software tools available for data analysis and scientific program for projects within Geosciences. Overall, the objective of this site is to create a 'go to' location where incoming students who will be working with modeling and heavy data analysis on servers can find tips for getting started.
  
 
+
<br/>'''NOTE:''' While we are requiring registration, and have some pages hidden from anonymous viewers, the pages are in general ''public'' facing, meaning they may be visible to users outside of UiO. Please be thoughtful when posting scripts or information on the system infrastructure. [[User:Jfb|Jfb]] 12:50, 14 September 2011 (CEST)
'''NOTE:''' While we are requiring registration, and have some pages hidden from anonymous viewers, the pages are in general ''public'' facing, meaning they may be visible to users outside of UiO. Please be thoughtful when posting scripts or information on the system infrastructure. [[User:Jfb|Jfb]] 12:50, 14 September 2011 (CEST)
 
  
 
== Make a contribution ==
 
== Make a contribution ==
Line 10: Line 9:
 
== Tools and Topics ==
 
== Tools and Topics ==
  
====Tools for [[WorkingOnServers]] at UiO.====
+
==== Tools for [[WorkingOnServers]] at UiO. ====
 +
 
 
An important resource for anyone using the servers.
 
An important resource for anyone using the servers.
  
====[[Python]]====
+
==== [[Python]] ====
 +
 
 
A starting point for all-things Python. Provides information on best practices, different packages that are frequently used, and other information to make using Python at NILU easier.
 
A starting point for all-things Python. Provides information on best practices, different packages that are frequently used, and other information to make using Python at NILU easier.
  
====General [[Fortran]] Tips====
+
==== General [[Fortran]] Tips ====
 +
 
 
Some general usage tips for coding in FORTRAN.
 
Some general usage tips for coding in FORTRAN.
  
====[[ECMWF]]====
+
==== Getting data from [[ECMWF]] ====
 +
 
 
Decriptions of how to get data in various ways from the ECMWF server.
 
Decriptions of how to get data in various ways from the ECMWF server.
  
====[[FLEXPART_Model]]====
+
==== [[FLEXPART Model]] ====
 +
 
 
Information and resources for running and setting up FLEXPART. Mostly geared toward the ATMOS users.
 
Information and resources for running and setting up FLEXPART. Mostly geared toward the ATMOS users.
  
====[[FLEXINVERT]]====
+
==== [[FLEXINVERT]] ====
 +
 
 
Bayesian inversion code for use with FLEXPART
 
Bayesian inversion code for use with FLEXPART
  
====[[Matlab]] (Not open source, but extensively used)====
 
Contributions from MATLAB users
 
  
  
== Editing pages on the Geo-IT MediaWiki ==
+
WRF and WRF-CHEM Models
 +
 
 +
Information and resources for running and setting up WRF and WRF-CHEM.
 +
 
 +
 
 +
 
 +
OpenIFS ECMWF Model
 +
 
 +
Information and resources for running and setting up OpenIFS (ECMWF forecast model).
 +
 
  
A good starting place for markup reference can be found here: http://meta.wikimedia.org/wiki/Help:Wikitext_examples
 
  
Another point is that this wiki is using Subpages, so in places you'll see reference to a <nowiki><subpages .></nowiki> tag. This just means that the list of subpages will be dynamically generated in that location.
+
Data formats (netCDF, HDF4, HDF5, GRIB-1, GRIB-2, BUFR, etc.)
  
====Editing Source Code====
+
Descriptions on how to manipulate and visualize data in these different formats.
Note that for the purposes of documenting source code there are two important features:
 
  
# use the <nowiki><code> ... </code></nowiki> to show some simple code snippets: <code>def foo(): return</code>
 
# The syntax highlighting extension has been installed, so you can wrap source code examples in <nowiki><syntaxhighlight></nowiki> 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:
 
  
<pre><nowiki>
 
<syntaxhighlight lang='python'>
 
# Hello World in Python
 
print("Hello World")
 
</syntaxhighlight>
 
<syntaxhighlight lang='csharp'>
 
//Hello World in C#
 
class HelloWorld
 
{
 
    static void Main()
 
    {
 
        System.Console.WriteLine("Hello, World!");
 
    }
 
}
 
  
</syntaxhighlight>
+
==== [[Matlab]] (Not open source, but extensively used) ====
  
 +
Contributions from MATLAB users
  
<syntaxhighlight lang='cpp'>
 
// Hello World in C++ (pre-ISO)
 
  
#include <iostream.h>
 
  
main()
+
== Editing pages on the Geo-IT MediaWiki ==
{
 
    cout << "Hello World!" << endl;
 
    return 0;
 
}
 
  
 +
A good starting place for markup reference can be found here: [http://meta.wikimedia.org/wiki/Help:Wikitext_examples http://meta.wikimedia.org/wiki/Help:Wikitext_examples]
  
 +
Another point is that this wiki is using Subpages, so in places you'll see reference to a <nowiki><subpages .></nowiki> tag. This just means that the list of subpages will be dynamically generated in that location.
  
</syntaxhighlight>
+
==== Editing Source Code ====
  
</nowiki></pre>
+
Note that for the purposes of documenting source code there are two important features:
  
The above code block results in:
+
#use the <nowiki><code> ... </code></nowiki> to show some simple code snippets: <code>def foo(): return</code>
<syntaxhighlight lang='python'>
+
#The syntax highlighting extension has been installed, so you can wrap source code examples in <nowiki><syntaxhighlight></nowiki> 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:
 +
<pre><syntaxhighlight lang='python'>
 
# Hello World in Python
 
# Hello World in Python
 
print("Hello World")
 
print("Hello World")
Line 94: Line 85:
 
}
 
}
  
C++
 
Back to index
 
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
 
<syntaxhighlight lang='cpp'>
 
<syntaxhighlight lang='cpp'>
 
// Hello World in C++ (pre-ISO)
 
// Hello World in C++ (pre-ISO)
Line 112: Line 103:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====Other Resources====
+
</pre>
 
+
The above code block results in:
 
+
<div dir="ltr" class="mw-geshi mw-code mw-content-ltr"><div class="python source-python"><pre class="de1"><span class="co1"># Hello World in Python</span>
Consult the [http://meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software.
+
<span class="kw1">print</span><span class="br0">(</span><span class="st0">"Hello World"</span><span class="br0">)</span></pre></div></div><div dir="ltr" class="mw-geshi mw-code mw-content-ltr"><div class="csharp source-csharp"><pre class="de1"><span class="co1">//Hello World in C#</span>
See Also:
+
<span class="kw4">class</span> HelloWorld
 +
<span class="br0">{</span>
 +
    <span class="kw1">static</span> <span class="kw4">void</span> Main<span class="br0">(</span><span class="br0">)</span>
 +
    <span class="br0">{</span>
 +
        <span class="kw5">System</span><span class="sy0">.</span><span class="me1">Console</span><span class="sy0">.</span><span class="me1">WriteLine</span><span class="br0">(</span><span class="st0">"Hello, World!"</span><span class="br0">)</span><span class="sy0">;</span>
 +
    <span class="br0">}</span>
 +
<span class="br0">}</span>
 +
&nbsp;
 +
C<span class="sy0">++</span>
 +
Back to index</pre></div></div><div dir="ltr" class="mw-geshi mw-code mw-content-ltr"><div class="cpp source-cpp"><pre class="de1"><span class="co1">// Hello World in C++ (pre-ISO)</span>
 +
&nbsp;
 +
<span class="co2">#include <iostream.h></span>
 +
&nbsp;
 +
main<span class="br0">(</span><span class="br0">)</span>
 +
<span class="br0">{</span>
 +
    <span class="kw3">cout</span> <span class="sy1"><<</span> <span class="st0">"Hello World!"</span> <span class="sy1"><<</span> endl<span class="sy4">;</span>
 +
    <span class="kw1">return</span> <span class="nu0">0</span><span class="sy4">;</span>
 +
<span class="br0">}</span></pre></div></div>
 +
==== Other Resources ====
  
* [http://www.mediawiki.org/wiki/Manual:Configuration_settings Configuration settings list]
+
Consult the [http://meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software. See Also:
* [http://www.mediawiki.org/wiki/Manual:FAQ MediaWiki FAQ]
 
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]
 
  
 +
*[http://www.mediawiki.org/wiki/Manual:Configuration_settings Configuration settings list]
 +
*[http://www.mediawiki.org/wiki/Manual:FAQ MediaWiki FAQ]
 +
*[https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]
  
[[/Reference]]
+
<br/>[[/Reference]]

Revision as of 12:43, 15 September 2014

Welcome to the Geosciences Modeling and Data Science Wiki. The purpose of these pages is to provide information on software tools available for data analysis and scientific program for projects within Geosciences. Overall, the objective of this site is to create a 'go to' location where incoming students who will be working with modeling and heavy data analysis on servers can find tips for getting started.


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

Make a contribution

Here is a list of NeededUpdates. Feel free to tackle something from the list!

Tools and Topics

Tools for WorkingOnServers at UiO.

An important resource for anyone using the servers.

Python

A starting point for all-things Python. Provides information on best practices, different packages that are frequently used, and other information to make using Python at NILU easier.

General Fortran Tips

Some general usage tips for coding in FORTRAN.

Getting data from ECMWF

Decriptions of how to get data in various ways from the ECMWF server.

FLEXPART Model

Information and resources for running and setting up FLEXPART. Mostly geared toward the ATMOS users.

FLEXINVERT

Bayesian inversion code for use with FLEXPART


WRF and WRF-CHEM Models

Information and resources for running and setting up WRF and WRF-CHEM.


OpenIFS ECMWF Model

Information and resources for running and setting up OpenIFS (ECMWF forecast model).


Data formats (netCDF, HDF4, HDF5, GRIB-1, GRIB-2, BUFR, etc.)

Descriptions on how to manipulate and visualize data in these different formats.


Matlab (Not open source, but extensively used)

Contributions from MATLAB users


Editing pages on the Geo-IT MediaWiki

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

Another point is that this wiki is using Subpages, so in places you'll see reference to a <subpages .> tag. This just means that the list of subpages will be dynamically generated in that location.

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 syntax highlighting extension has been installed, so you can wrap source code examples in <syntaxhighlight> 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:
<syntaxhighlight lang='python'>
# Hello World in Python
print("Hello World")
</syntaxhighlight>
<syntaxhighlight lang='csharp'>
//Hello World in C#
class HelloWorld
{
    static void Main()
    {
        System.Console.WriteLine("Hello, World!");
    }
}

</syntaxhighlight>


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

#include <iostream.h>

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



</syntaxhighlight>

The above code block results in:

<span class="co1"># Hello World in Python</span>
<span class="kw1">print</span><span class="br0">(</span><span class="st0">"Hello World"</span><span class="br0">)</span>
<span class="co1">//Hello World in C#</span>

<span class="kw4">class</span> HelloWorld <span class="br0">{</span>

   <span class="kw1">static</span> <span class="kw4">void</span> Main<span class="br0">(</span><span class="br0">)</span>
   <span class="br0">{</span>
       <span class="kw5">System</span><span class="sy0">.</span><span class="me1">Console</span><span class="sy0">.</span><span class="me1">WriteLine</span><span class="br0">(</span><span class="st0">"Hello, World!"</span><span class="br0">)</span><span class="sy0">;</span>
   <span class="br0">}</span>

<span class="br0">}</span>   C<span class="sy0">++</span>

Back to index
<span class="co1">// Hello World in C++ (pre-ISO)</span>

  <span class="co2">#include <iostream.h></span>   main<span class="br0">(</span><span class="br0">)</span> <span class="br0">{</span>

   <span class="kw3">cout</span> <span class="sy1"><<</span> <span class="st0">"Hello World!"</span> <span class="sy1"><<</span> endl<span class="sy4">;</span>
   <span class="kw1">return</span> <span class="nu0">0</span><span class="sy4">;</span>
<span class="br0">}</span>

Other Resources

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


/Reference