Home Back to the S&Wlab

About SMDR Why ?
An introduction to SMDR

Description How ?
The components of SMDR

How-to How ?
How to run SMDR

Applications What ?
Some examples

Download Where ?
Get your own scripts

FAQ & Tips Err...
Some help with SMDR and GRASS

SMDR-basic


Download

SMDR is currently coded as a set of bash/gawk/Perl scripts, relying heavily on GRASS commands. The development was done on a standard linux distribution (SuSE 7.1 and above), and a fairly recent version of Perl (5.8). You should not need to install any specific program to start using these sources (apart from GRASS, please see below).
The sources come as .tar.gz or .zip archives:

Installation

Installation of the sources is straightforward. Just unzip the archive, et voilà! , you're almost set. You now have to install two perl modules required by some of the scripts, namely GRASS/raster and SMDR/setup. Please follow the classical procedure. The snippet below summarizes the installation steps:

tar zvxf SMDR_Scripts_3001.tar.gz
cd SMDR_Scripts_3001
pushd GRASS/raster
perl Makefile.PL
make
make install
popd
pushd SMDR/setup_3001
perl Makefile.PL
make
make install

SMDR and GRASS

SMDR is based on the 5.3 version of GRASS. Some problems were experienced with GRASS 5.7: when trying to access some maps existing in more than one mapset, the program halts. Not much attention has been given to this issue, frankly. [Quite likely, the r.mapcalc section is a bit fussy]. Therefore, we would advise you to run SMDR with GRASS5.3 only.

Please follow these links to the GRASS webpage (US mirrored or European site) to download GRASS5.3 sources. You will also find quite helpful information about GRASS requirements and installation procedures.

SMDR-GUI (aka ‘Windows version’)


Introduction

During the summer 2004, Pete Burns, a REU student, developed a Graphical User Interface to SMDR in Python. The main objective of his work was to simplify the creation of the parameter files required by SMDR. The second objective was to provide a usable interface to the beta version of the SMDR code ported to C++ by some third party. Both objectives were quite successfully achieved.

IMPORTANT NOTE :

At this time (late September 2004), the SMDR GUI has been tested on Windows only (XP and NT versions). Moreover, the C++ code this GUI calls to run SMDR is based on somehow old sources, that are NOT supported by the S&W lab. We can give you no guarantee that this version of SMDR may meet your expectations. However, it's definitely worth a try.

Download

The SMDR GUI comes in two versions: a ready-to-install binary, and Python sources. The sources are provided as is. You are welcome to adpat them for your own particular needs. In that case, we would like you to let us know, and would be happy to incorporate your changes in a next version.

Requirements

Here is a short list of the softwares you will need to use the SMDR-GUI from the sources.

Python >= 2.3.4
The 2.3.4 version of Python corrects some bugs of 2.3. You can find it here.
Numeric >= 23.1
Numerical extensions for Python. This package is used to store maps in memory during the computations. A version is available here and there.
wxPython >= 2.5.1.5
A GUI toolkit for Python. Required if you want to tweak the code to your own whims. Quite optional if you are only interested in running the model. Program, prerequisites and installation procedure are located here.
GDAL tools >= 1.2.0
The Geospatial Data Abstraction Library is more than an indispensable set of tools for GIS rasters and vectors (via OGR) processing, believe us ! You'll find binaries and sources here.

News

First attempts to go online...