pase84 / nctoolbox

Automatically exported from code.google.com/p/nctoolbox
0 stars 0 forks source link

NCTOOLBOX - 20120109

Full instructions and documentation at: http://code.google.com/p/nctoolbox/

Brief summary:

I. Prequisites

  1. Matlab R2008a+. You can verify the version of Matlab by typing:

    version

  2. Java 6+. You can verify the version of Java used by Matlab by typing:

    version('-java'). The version returned should start with 'Java 1.6'. If it starts with 'Java 1.5' you can try updating the Matlab JVM: http://www.mathworks.com/support/solutions/en/data/1-1812J/ or use the older nctoolbox-20091112 version of this toolbox.

    II. Setup

  3. In Matlab, change to the nctoolbox directory. For example,

    cd ~/Documents/MATLAB/nctoolbox

  4. Run the setup_nctoolbox.m function

    setup_nctoolbox

  5. This sets up nctoolbox for the current Matlab session only. You will need to add the follwing lines to your startup.m file if you would like nctoolbox automatically when you start Matlab:

    % Edit "/Path/to/nctoolbox" to correct nctoolbox directory
    addpath("/Path/To/nctoolbox")
    setup_nctoolbox

III. Demos

  1. Demos that display basic functionality are in the 'demos' subdirectory. These demos can fail if the machines serving the remote data access URLs are unavailable.
  2. Contributed demos that display additional or specialized functionality are in the demos/contrib directory. Some of these depend on accessing remote sites for data that can be less reliable than the data URLs in the 'demos' directory.