Commit 67fb5df1 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

updated run files

- renamed run.sh to run_at_geoms.sh
- added try/except to run_gms

- updated __version__
parent d7c74e9b
......@@ -11,22 +11,22 @@ newgrp - gfz-fe
PFX=/home/gfz-fe/anaconda3_2.4.1
OLD_PATH=$PATH
PATH=$PFX/bin:$PFX/lib/python35.zip:$PFX/lib/python3.5:$PFX/lib/python3.5/plat-linux:$PFX/lib/python3.5/lib-dynload:$PFX/lib/python3.5/site-packages/Sphinx-1.3.1-py3.5.egg:$PFX/lib/python3.5/site-packages/setuptools-18.5-py3.5.egg:$PFX/lib/python3.5/site-packages:$PFX/lib/python3.5/site-packages/cryptography-1.0.2-py3.5-linux-x86_64.egg:$PFX/lib/python3.5/site-packages/IPython/extensions:/home/gfz-fe/.ipython
PATH=$PATH:$OLD_PATH
PATH=${PFX}/bin:${PFX}/lib/python35.zip:${PFX}/lib/python3.5:${PFX}/lib/python3.5/plat-linux:${PFX}/lib/python3.5/lib-dynload:${PFX}/lib/python3.5/site-packages/Sphinx-1.3.1-py3.5.egg:${PFX}/lib/python3.5/site-packages/setuptools-18.5-py3.5.egg:${PFX}/lib/python3.5/site-packages:${PFX}/lib/python3.5/site-packages/cryptography-1.0.2-py3.5-linux-x86_64.egg:${PFX}/lib/python3.5/site-packages/IPython/extensions:/home/gfz-fe/.ipython
PATH=$PATH:${OLD_PATH}
#PATH= /usr/local64/hdf/h4h5tools-2.2.2-linux-x86_64-static/bin:$PATH # HDF4>HDF5-Konverter -> auf geoms bisher nicht installiert
export PATH
# set pythonpath
export PYTHONPATH=$PFX/lib/python3.5/site-packages
export PYTHONPATH=${PFX}/lib/python3.5/site-packages
export PATH=${PYTHONPATH}:${PATH}
# set gdal and ld_lib
export GDAL_DATA=$PFX/share/gdal
export LD_LIBRARY_PATH=$PFX/lib
export LD_LIBRARY_PATH=$PFX/fftw3f-3.3.4-2/include:$PFX/fftw3f-3.3.4-2/lib$LD_LIBRARY_PATH
export GDAL_DATA=${PFX}/share/gdal
export LD_LIBRARY_PATH=${PFX}/lib
export LD_LIBRARY_PATH=${PFX}/fftw3f-3.3.4-2/include:${PFX}/fftw3f-3.3.4-2/lib${LD_LIBRARY_PATH}
#export LD_LIBRARY_PATH=$PFX/pkgs/hdf4-4.2.11-2/lib:$LD_LIBRARY_PATH # verhindert sehr hardcodiert ImportError: libmfhdf.so.0: cannot open shared object file: No such file or directory
# execute python script
python process_controller_for_testing.py "$@"
python -m run_gms.py "$@"
#python scenes_jobs_dbaccess.py "$@"
......@@ -3,7 +3,10 @@ __author__='Daniel Scheffler'
import sys
from GeoMultiSens_dev import process_controller
try:
from GeoMultiSens import process_controller
except ImportError:
from GeoMultiSens_dev import process_controller
if __name__=='__main__':
if len(sys.argv)<2:
......
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