ec-jrc / lisflood-lisvap

Lisflood OS (LISVAP)
https://ec-jrc.github.io/lisflood-lisvap/
European Union Public License 1.2
8 stars 6 forks source link

Installation and setup of LISVAP #10

Closed gnrgomes closed 5 years ago

gnrgomes commented 5 years ago

LISVAP installation instructions: 1) Update instructions to retrieve the LISVAP source code from git 2) System requirements: Add PCRaster documentation link and indicate which version of pcraster it needs to be installed, because the latest one works with python3 and LISVAP works with python2 3) Installation on Linux (Ubunto) systems with python 2.7:

sudo pip install python-dateutil, netCDF4, numpy

sudo apt install cmake gcc g++ git libboost-all-dev libgdal-dev libncurses5-dev libpython-dev libqwt-qt5-dev libxerces-c-dev libxml2 libxml2-utils libxslt1-dev python-numpy qtbase5-dev python-docopt

wget http://downloads.sourceforge.net/project/pcraster/PCRaster/4.1.0/pcraster-4.1.0_x86-64.tar.gz tar xf pcraster-4.1.0_x86-64.tar.gz sudo apt-get install libjpeg62

vim $HOME/.bashrc export PCRASTER_HOME=${HOME}/pcraster-4.1.0_x86-64 export PATH=${PCRASTER_HOME}/bin:$PATH export PYTHONPATH=${PCRASTER_HOME}/python:$PYTHONPATH

:x

4) Running LISVAP instructions:

cd $LISVAP_HOME python lisvap1.py lisvap4EFASCalibration2018.xml

5) The LISVAP settings file instructions need to be updated by removing inexistent/deprecated options and inserting new options like: readNetcdfStack 6) Move file $LISVAP_HOME/tests/data/areaall.nc to mapsLisvap/

7) It is missing instructions on the configuration file OptionTserieMapsLisvap.xml: example, make LISVAP output TAvg

domeniconappo commented 5 years ago

@gnrgomes thank you! To be used in #6