-
Notifications
You must be signed in to change notification settings - Fork 0
Linux Install
You will first need to download and install VisTrails; the instructions on the VisTrails site are clear in this regard. (NOTE: EO4Vistrails has currently been tested with VisTrails 2.1.)
If you are running on Ubuntu, then read the Ubuntu install notes.
-
In 2.1 and later of Vistrails, the package NumSciPy is not included as part of the standard Vistrails distribution. You need to download this package from the Vistrails packages, copy it into the
vistrails/packagesfolder, and install as described above. This package depends onnumpy,scipyandmatplotlib- see below under Core Dependencies - which must all be installed before NumSciPy can work. -
Sometimes the automatic installation of missing packages for the core Vistrails package does not work, resulting in an error on startup. It may be necessary to install the python bindings for VTK and qt4. In Ubuntu:
sudo apt-get install python-qt4-gl sudo apt-get install python-vtk
The latest trunk of the EO4VisTrails package can be accessed using Git (on Ubuntu: sudo apt-get install git) from the following URL.
git clone https://github.com/ict4eo/eo4vistrails/
Symlink the folder eo4vistrails into the packages directory of your VisTrails install and enable the package as directed by the VisTrails documentation. It is likely that you will get errors, and will need to install the dependencies outlined below.
- Before starting with EO4VisTrails, you will also need to make sure that a number of dependencies are installed. Note that in most cases you will need the Python bindings for these libraries as well.
- If you are using Ubuntu, please consider enabling the UbuntuGIS PPA.
- By installing QuantumGIS, some of the required libraries and python bindings are already installed as dependancies (e.g. gdal and qgis).
- Beside
pysalandrpycall packages can be installed from the Ubuntu repositories viaapt-get. (You could also installpython-setuptoolsto be able to useeasy*installinstead.)
- As already noted above, the
NumSciPypackage will need to have been either enabled, or installed and enabled. - Also ensure that the
controlflowpackage is enabled.
Core dependencies must be in place for EO4VisTrails to work at all.
-
- scipy - http://www.scipy.org/ (>= 0.8.0)
-
- ubuntu:
sudo apt-get install python-scipy
- ubuntu:
-
- numpy - http://numpy.scipy.org/ (>= 0.9.0)
-
- ubuntu:
sudo apt-get install python-numpy
- ubuntu:
- owslib - (currently shipped with EO4VisTrails)
-
- qgis - http://www.qgis.org/ (>= 1.4.1)
-
-
- ubuntu:
sudo apt-get install qgis(this also installs gdal and the required python bindingspython-qgisandpython-gdal) -
- occasionally, obscure errors occur with QGIS bindings. Symptoms typically are errors that complain about missing symbols (C/C++). It remains unclear what the cause is, but a workaround is to remove the qgis-plugin-grass and qgis-plugin-grass-common packages.
- ubuntu:
-
-
- gdal -
-
- ubuntu:
sudo apt-get install python-gdalThis should have been installed as part of the QGIS install
- ubuntu:
-
- matplotlib - http://http://matplotlib.sourceforge.net/ (>= 0.1.1)
-
- ubuntu:
sudo apt-get install python-matplotlib
- ubuntu:
-
- python-qt4-sql - necessary for the OGC WPS module
-
- ubuntu:
sudo apt-get install python-qt4-sql
- ubuntu:
-
- python-jinja2
-
- ubuntu:
sudo apt-get install python-jinja2
- ubuntu:
-
- python-xlrd
-
- ubuntu:
sudo apt-get install python-xlrd
- ubuntu:
-
- python-xlwt
-
- ubuntu:
sudo apt-get install python-xlwt
- ubuntu:
These other dependencies allow various other modules, such as R scripting and access to PostGIS, to work. These modules will be disabled (invisible) if the required dependencies are not in place (with warnings displayed in the console).
-
- netcdf4-python - http://code.google.com/p/netcdf4-python/
-
-
This also requires HDF5 and netCDF4 (see http://code.google.com/p/netcdf4-python/wiki/UbuntuInstall or http://code.google.com/p/netcdf4-python/wiki/MinGWInstall)
-
- ubuntu or debian:
-
sudo apt-get install python-h5py-
pip install netcdf4-
- If you get errors, you may also need:
sudo apt-get install libnetcdf-dev, libhdf5-dev, netcdf-bin, python-dev, libhdf5-serial-dev, hdf5-tools
-
-
- networkx - http://networkx.lanl.gov/ (>= 1.4)
-
- ubuntu:
sudo apt-get install python-networkx - or:
pip install networkx
- ubuntu:
-
- psycopg2 - http://initd.org/psycopg/ (>= 2.2.1)
-
- ubuntu:
sudo apt-get install libpq-dev - ubuntu:
sudo apt-get install python-psycopg2 - or:
pip install psycopg2
- ubuntu:
-
- pydap - http://pydap.org/ (>= 3.0.2)
-
- ubuntu:
sudo apt-get install python-dap - or:
pip install pydap
- ubuntu:
-
- pysal - http://code.google.com/p/pysal/ (>= 1.1.0)
-
- ubuntu:
pip install pysal
- ubuntu:
-
- rpyc - http://rpyc.wikidot.com/ (>= 3.0.7)
-
- ubuntu:
pip install rpyc
- ubuntu:
-
- rpy2 - http://rpy.sourceforge.net/rpy2.html (>= 2.1.4)
-
- ubuntu:
pip install rpy2
- ubuntu: