Commit 0a15d3bb authored by Simon Gascoin's avatar Simon Gascoin
Browse files

ENH: move bash script and update readme

parent 2ba6e003
......@@ -47,16 +47,18 @@ GDAL itself depends on a number of other libraries provided by most major operat
Python package dependencies: sys, subprocess, glob, os, json, gdal
## Installing from the source distribution
### Installing from the source distribution
to configure OTB on venuscalc:
source /mnt/data/home/otbtest/config_otb.sh
# Then build the lis project using cmake
### Then build the lis project using cmake
cd $build_dir \
cmake -DCMAKE_CXX_FLAGS:STRING=-std=c++11 -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++-4.8 -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc-4.8 -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DGDAL_INCLUDE_DIR=/mnt/data/home/otbtest/OTB/SuperBuild/include -DGDAL_LIBRARY=/mnt/data/home/otbtest/OTB/SuperBuild/lib/libgdal.so $source_dir \
cd $build_dir
cmake -DCMAKE_CXX_FLAGS:STRING=-std=c++11 -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++-4.8 -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc-4.8 -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DGDAL_INCLUDE_DIR=/mnt/data/home/otbtest/OTB/SuperBuild/include -DGDAL_LIBRARY=/mnt/data/home/otbtest/OTB/SuperBuild/lib/libgdal.so $source_dir
make
## Tests
......
......@@ -5,7 +5,7 @@ export PYTHONPATH=/mnt/data/home/gascoins/CES-Neige/build/let-it-snow/bin/:$PYTH
param=$1
output_dir=/mnt/data/home/gascoins/Output-CES-Neige/
output_dir=/mnt/data/home/gascoins/Output-CES-Neige-Full
rm -rf $output_dir
mkdir -p $output_dir
......
{
"general":{
"pout":"/mnt/data/home/grizonnetm/Output-CES-Neige-Full",
"pout":"/mnt/data/home/gascoins/Output-CES-Neige-Full",
"shadow_value":64,
"ram":1024,
"mode":"spot4",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment