Child pages
  • Chapter 2: How to install and start Delft-FIAT
Skip to end of metadata
Go to start of metadata

This chapter describes system requirements, the installation procedure and instructions for starting Delft-FIAT.

2.1       System requirements

 

There are different ways to run a Delft-FIAT model:

- stand-alone using a DOS-command (incl. batch possibilities); installation is just unzipping the D_FIAT.zip into a local system folder (see section 2.4)

- stand-alone using a Python command; unzip the D_FIAT_python.zip into a local system folder and install the appropriate Python version (see section 2.2)

 

In both cases, a user needs a normal windows-pc, at least 500 MB of disk space. With Python, some additional libraries need to be installed. This is described below in detail.

 

2.2       Installation of Delft-FIAT without the need to install all dependencies

 

Delft-FIAT can also be run without installing all components described in section 2.2. A zip-file is made available in which all components are packed. The basic Delft-FIAT tool is run by unpacking the file and calling the executable in a command window using the arguments exactly identical as described in section 4.1.1 and 4.1.2.[3]

2.3       Installation

 

In the following steps a clean installation of Python and additional libraries is described. Common GIS software often includes Python software installations (e.g. it is very difficult to get GDAL working with ArcGIS 10.1). It is recommended to add a brand new Python installation in parallel.

 

Follow these steps:

 

1           install python 2.7.9[1] from the installation folder or from https://www.python.org/

2           install numpy 1.9.x from the installation folder or from http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy with pip[2]

3           install gdal 1.11.x from the installation folder or from http://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal with pip

4           install xlwt and xlrd from the installation folder or with pip

5           install Microsoft Excel or openoffice

6           your installation is successful when you start a Python command (e.g. type cmd in your start menu and type the path to the ‘installation folder + ’python.exe in the command prompt) and successfully evaluate “import numpy, gdal, xlwt, xlrd”. Type exit() to return to the command prompt

 

 

Figure 2.1 example of a successful installation and configuration of python for Delft-FIAT

 

The installation packages of Python(x,y) or an Anaconda Python distribution (http://continuum.io/downloads) also exhibit the required additional libraries (numpy, gdal, xlwt, xlrd).

2.4       De-installation

 

De-installation of python and additional installations is possible through programs and features in the Windows control panel. Afterwards, remove the folder with Delft-FIAT.

2.5       Source code as open software

 

On request the source of Delft-FIAT can be delivered freely, but licensed.

Access via  Kymo.Slager@deltares.nl

 

The code is released under the Simplefied BSD License, with the intellectual property rights (IP) reserved by Deltares. Please mind to add the same header to new Python code files.



[1] If possible, consider to install a 64-bit version of Python as this will increase the performance significantly

[2] https://pip.pypa.io/en/latest/user_guide.html#installing-from-wheels: python.exe pip-6.1.1-py2.py3-none‑any.whl/pip install pip-6.1.1-py2.py3-none‑any.whl

[3] E.g. by: d:FIAT/FIAT/run_FIAT.exe C:/FIAT/config.xls

  • No labels