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 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 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.
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.
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.
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.
Here is a short list of the softwares you will need to use the SMDR-GUI from the sources.
First attempts to go online...