Weather Within Climate Tools

    There are currently 2 tools available:

    • The Stochastic Daily Rainfall Sequences Toolkit
    • and the HMM Tool

    Stochastic Daily Rainfall SequencesStochastic Daily Rainfall Sequences Toolkit

    These are a set of programs made to predict daily rainfall sequence, developed in Matlab by Vincent Moron. The Matlab programs are converted to stand-alone c programs using the mcc tool. A set of scripts (mpg.tar.gz), developed by Lulin Song, allow the user to more easily convert the Matlab program to a stand-alone C program. For details, click here.

    Linux:

    MCRInstaller.zip (Created on Redhat Linux 2.4.21-32)

    knn_analog(bundle) (Tested on Redhat Linux 2.4.21-32)
      knn analog analysis between observed and simulated fields to estimate a target observed variable. The bundle includes MCR libraries and matlab input data files. If you have MCR libraries, you can download a smaller tar ball here.
      Once you have uncompressed it, you will find a script 'run_knn_analog' under the knn_analog directory. It tells you how to run the knn_analog program.
    weather_type_model(bundle) (Tested on Redhat Linux 2.4.21-32)

    weather_type_model computes weather type classification between observed and simulated field to estimate a target observed variable. It takes five input matrixes and other options and return five output results. If you have MCR libraries, you can download smaller tar ball here. Sample data can be downloaded here.

    Notes:

    If your input data are ascii files, please use scientific notation, if your input data are netcdf files, please use two dimensional array, otherwise the program won't work.

    Windows XP:

    MCRInstaller.exe

    weather_type_model(bundle) (Updated on July, 6th, 2006)

    weather_type_model computes weather type classification between observed and simulated field to estimate a target observed variable. It takes five input matrixes and other options and return five output results. If you have MCR libraries, you can download smaller zip file here. Sample data are included in the zip file.

    Notes:

    If your input data are ascii files, please use scientific notation, if your input data are netcdf files, please use two dimensional array, otherwise the program won't work.

    Run the application on Windows

    1. Uncompress the zip file. You will find a file called 'MCRInstaller.exe'. Install the MCR by running this MCR installer.

    2. Copy weather_type_model.exe, its CTF file and libanomaly.dll and netcdf.dll libraries to your application root directory. For an example, C:\weather_type_model. Copy all data files to your application root directory.

    3. Add the following directory to your system path:

    <mcr_root>\<ver>\runtime\win32

    If you are using Windows XP, this directory is automatically added to your system.

    4. Edit the file called 'run.bat' to change the directory name in the file to your application directory.

    5. Click on run.bat will launch the program. When the program finishes, you will see five output files in the same directory.

    or you can type 'weather_type_model.exe' from system prompt with command line arguments. For an example,

    weather_type_model.exe -i "test_era.nc;test_model1.nc;test_rain;test_cluster_era;test_cluster_mean:test_cluster_model1" -m -9999999 -p 0.5 -n 8 -l 92 -w 30 -k 1 -v 100 -o "clus1:clusmean1:clusmod:rainsim:iddayt"

    If you type 'weather_type_model.exe' alone, it will print out a usage message.


    HMMToolGUIHMMTool

    HMMTool is a display tool for the MVNHMM toolbox. HMMTool allows the user to enter or select parameters from graphic user interface. It can also launch MVNHMM toolbox by clicking 'launch' button. It will do simple plot for the output from MVNHMM toolbox. MVNHMM toolbox is developed by Sergey Kirshner.

    Download HMMTool:

    Linux:

    HMMTool-1.0.3_Linux.tar.gz (Created on Redhat Linux 2.4.21-32, Updated Jan. 31, 2007)

    HMMTool-1.1.4_Linux.tar.gz (Created on Redhat Linux 2.4.21-32, Updated Mar. 22, 2007)

    HMMTool-2.0_Linux.tar.gz (Created on Redhat Linux 2.4.21-32, Updated Mar. 30, 2007)

    HMMTool-2.1_Linux.tar.gz (Created on Redhat Linux 2.4.21-32, Updated May. 11, 2007)

    Mac OS X:

    HMMTool-1.0.3_Mac.tar.gz (Updated Jan. 31, 2007)

    HMMTool-1.1.4_Mac.tar.gz (Updated Mar. 22, 2007)

    HMMTool-2.0_Mac.tar.gz (Updated Mar. 30, 2007)

    HMMTool-2.1_Mac.tar.gz (Updated May 11, 2007)

    Window XP:

    HMMTool_1.0.3_Cygwin.zip (Created on WindowsXP Cygwin environment, Updated Jan. 31, 2007)

    HMMTool_1.1.4_Cygwin.zip (Created on WindowsXP Cygwin environment, Updated Mar. 22, 2007)

    HMMTool_2.0_Cygwin.zip (Created on WindowsXP Cygwin environment, Updated Mar. 30, 2007)

    HMMTool_2.1_Cygwin.zip (Created on WindowsXP Cygwin environment, Updated May 11, 2007)

    Installation:

    Linux:

    After you uncompress HMMTool-X.X.X_Linux.tar.gz file, it will create a directory 'HMMTool-X.X.X'. Under this directory, there are two subdirectories called 'c++' and 'examples', and two jar files, In the examples directory, there are two files, 'stationsInfo.txt' and 'JavaCPC16_SOND_1979_04.asc' data file. Under 'c++' directory, there is a c++ executable 'mvnhmm' which is created on Redhat Linux. If your machine is not Redhat Linux 2.4.21-32, you need to download MVNHMM toolbox source code, compile it on your machine and copy mvnhmm to HMMTool-X.X.X/c++ directory.

    Mac OS X:

    After you uncompress HMMTool-X.X.X_Mac.tar.gz file, it will create a directory 'HMMTool-X.X.X'. Under this directory, there are two subdirectories called 'c++' and 'examples', and two jar files, In the examples directory, there are two files, 'stationsInfo.tx' and 'JavaCPC16_SOND_1979_04.asc' data file. Under 'c++' directory, there is a c++ executable 'mvnhmm' which is created on Mac OS X.

    Command to uncompress *.tar.gz the file on Linux or Unix is

    tar -xvzf HMMTool_Linux.tar.gz or tar -xvzf HMMTool_Mac.tar.gz

    Window XP:

    Use winzip or WinWar extract HMMTool_Cygwin.zip to a directory such as HMMTool.

    Run HMMTool

    Copy 'stationsInfo.txt' and the data file 'JavaCPC16_SOND_1979_04.asc' to your data directory. The user should provide the stationsInfo.txt file in real case.

    At Linux or Unix prompt, type
    WhereYouInstalledDir/HMMTool-X.X.X/HMMTool

    Window XP:

    Navigate to the directory where you installed this package, eg. HMMTool, click HMMTool.bat file. It should bring up a GUI window. The program requires JRE 1.5 and up.

    Test Report (Updated December 5, 2006)

    User's Guide

    Documentation for Developers