This is an old revision of the document!
You are in Geoinformatics - Creative Commons :: Introduction to Earth System Modelling :: Software for the Course
The models described in this course will be developed using TerraME. TerraME is an extension of the Lua language. Please read the following introduction about TerraME, to get a sense of the language and what we are going to teach:
The next step is to learn the basics of Lua, which is a simple and elegant programming language. We provide an introduction about Lua for TerraME users:
The TerraME software is available at the TerraME github release site.
Please install TerraME in “C:\TerraME” in Windows.
To install TerraME on a MAC, please follow the instructions below:
export TERRAME=/usr/local/terrame export TME_PATH=$TERRAME/bin export PATH=$PATH:$TME_PATH export LUA_PATH="./?.lua;$TME_PATH/?.lua" export LUA_CPATH="$TME_PATH/?.so"
We suggest that you use ZeroBraneStudio as your programming environment for developing TerraME programs. In Windows, please install the program to C:\ZeroBraneStudio
. In MAC and Linux, please use the default installation path.
After you download ZeroBraneStudio (ZBS), please do the following steps:
C:\ZeroBraneStudio\cfg
”. In the MAC, the folder is “/Applications/ZeroBraneStudio.app/Contents/ZeroBraneStudio/cfg
”. In Ubuntu, it is “/opt/zbstudio/cfg
”./Applications/ZeroBraneStudio.app/Contents/ZeroBraneStudio/interpreters
”. In Ubuntu, it is /opt/zbstudio/interpreters
./Applications/ZeroBraneStudio.app/Contents/ZeroBraneStudio/spec
”. In Ubuntu, it is /opt/zbstudio/spec
.For this course, we are going to use additional packages:
To install these packages, please save the “zip” files to a folder in your computer. Run TerraME, click on the button “Install New Package” and select the files one by one.