Difference between revisions of "Python"

From mn/geo/geoit
Jump to: navigation, search
(Created page with " ===Setting up Python Paths=== Python is a programming language that comes with 'batteries included', meaning there are many existing tools (called modules) for your use. For me...")
 
(Replaced content with " ====Sub Page==== <subpages />")
Line 1: Line 1:
  
===Setting up Python Paths===
 
  
Python is a programming language that comes with 'batteries included', meaning there are many existing tools (called modules) for your use. For meteorological and climate data analysis, many of the tools have significant library dependencies, and it can be a challenge to build the modules (for instance netcdf requires the zlib compression libraries for HDF4/5 while grib requires the jasper libraries for compression).
+
====Sub Page====
 
+
<subpages />
Many of the modules have been built already and will work for the main transport group servers: billy, sjanten, tyr, tor, nordre, etc.
 
 
 
In order to use these modules, you need to add the appropriate python path to you shell.
 
 
 
The easiest way to accomplish this is to add the following line somewhere in your .bashrc file::
 
 
 
    source /xnilu_wrk/flex_wrk/.flexpartrc
 
 
 
This file will add a PYTHONPATH environment variable, but will also set the GRIB paths and add to your own $PATH. Read the header of the file for further information.
 

Revision as of 11:55, 14 September 2011


Sub Page

<subpages />