Commit e35b8a06 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

updated run_at_geoms.py; fixed wrong paths in config

- updated __version__
Former-commit-id: 9fb73948
Former-commit-id: 2c338888
parent ba54ca0f
......@@ -144,10 +144,10 @@ class Job:
self.path_spatIdxSrv = query_cfg( 'path_spatial_index_mediator_server')
self.path_earthSunDist = absP(query_cfg('path_earthSunDist'))
self.path_SRFs = absP(query_cfg('path_SRFs'))
self.path_cloud_classif = absP(query_cfg('path_cloud_classif'))
self.path_cloud_classif = query_cfg('path_cloud_classif')
self.path_solar_irr = absP(query_cfg('path_solar_irr'))
self.path_ac_options = absP(query_cfg('path_ac_options'))
self.path_ac_tables = absP(query_cfg('path_ac_tables'))
self.path_ac_tables = query_cfg('path_ac_tables')
self.path_SNR_models = absP(query_cfg('path_SNR_models'))
self.path_dem_proc_srtm_90m = query_cfg('path_dem_proc_srtm_90m')
self.path_ECMWF_db = query_cfg('path_ECMWF_db')
......
......@@ -4,29 +4,25 @@
newgrp - gfz-fe
## set environment variables
# extent PATH
#PATH=/home/gfz-fe/anaconda3/bin:$PATH
# Added from PYTHON_GFZ installer, Sat Nov 12 21:52:37 CET 2016
PFX=/home/gfz-fe/python_GFZ
PFX=/home/gfz-fe/anaconda3_2.4.1
export PATH_PYTHON_GFZ=${PFX}/python/bin:${PFX}/opt/bin
export LD_PATH_PYTHON_GFZ=${PFX}/opt/lib:${PFX}/python/lib
export PATH=$PATH_PYTHON_GFZ:$PATH
export LD_LIBRARY_PATH=$LD_PATH_PYTHON_GFZ:$LD_LIBRARY_PATH
export PYTHONPATH=${PFX}/opt/lib/python3.5/site-packages:${PFX}/opt/lib/python2.7/site-packages
export GDAL_DATA=${PFX}/opt/share/gdal
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= /usr/local64/hdf/h4h5tools-2.2.2-linux-x86_64-static/bin:$PATH # HDF4>HDF5-Konverter -> auf geoms bisher nicht installiert
export PATH
export PYTHONPATH=$PYTHONPATH:/home/gfz-fe/scheffler/python # needed to find e.g. CoReg_Sat, py_tools_ds
export PYTHONPATH=$PYTHONPATH:/home/gfz-fe/hollstein/python/AT4P # needed to find e.g. AT4P
export PYTHONPATH=$PYTHONPATH:/home/gfz-fe/hollstein/python/ECMWF # needed to find e.g. ECMWF
export PYTHONPATH=$PYTHONPATH:/home/gfz-fe/hollstein/python/S2MSI # needed to find e.g. S2MSI
export PYTHONPATH=$PYTHONPATH:/home/gfz-fe/hollstein/python/S2SCAPEM # needed to find e.g. S2SCAPEM
export PYTHONPATH=$PYTHONPATH:/home/gfz-fe/hollstein/python/cBc # needed to find e.g. cBc
# set pythonpath
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 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 -m run_gms.py "$@"
ipython -m run_gms.py "$@"
#python scenes_jobs_dbaccess.py "$@"
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