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

Deleted run_at_geoms*.py. Moved test job IDs from run_gms.py to test_gms_preprocessing.

parent b34ac209
#!/bin/sh
#
#newgrp - gfz-fe
## set environment variables
# Added from PYTHON_GFZ installer, Sat Nov 12 21:52:37 CET 2016
PFX=/home/gfz-fe/python_GFZ
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.6/site-packages:${PFX}/opt/lib/python2.7/site-packages # Python version must be updated here!
export GDAL_DATA=${PFX}/opt/share/gdal
export PYTHONPATH=${PYTHONPATH}:/home/gfz-fe/scheffler/python/gms_preprocessing # needed to find gms_preprocessing
export PYTHONPATH=${PYTHONPATH}:/home/gfz-fe/scheffler/python/geoarray # needed to find geoarray
export PYTHONPATH=${PYTHONPATH}:/home/gfz-fe/scheffler/python/py_tools_ds # needed to find py_tools_ds
export PYTHONPATH=${PYTHONPATH}:/home/gfz-fe/scheffler/python/arosics # needed to find e.g. AROSICS
export PYTHONPATH=${PYTHONPATH}:/home/gfz-fe/hollstein/python/sicor # needed to find sicor
# execute python script
#ipython --colors='NoColor' run_gms.py jobid "$@" # NoColor must be active for ipython because gwt-log cannot interpret ANSI console colors
python run_gms.py jobid "$@"
#python scenes_jobs_dbaccess.py "$@"
#!/bin/sh
#
#newgrp - gfz-fe
## set environment variables
# Added from PYTHON_GFZ installer, Sat Nov 12 21:52:37 CET 2016
PFX=/home/gfz-fe/python_GFZ
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.6/site-packages:${PFX}/opt/lib/python2.7/site-packages # Python version must be updated here!
export GDAL_DATA=${PFX}/opt/share/gdal
# execute python script
#ipython --colors='NoColor' run_gms.py jobid "$@" # NoColor must be active for ipython because gwt-log cannot interpret ANSI console colors
python run_gms.py jobid "$@"
#python scenes_jobs_dbaccess.py "$@"
......@@ -255,62 +255,6 @@ def get_gms_argparser():
if __name__ == '__main__':
# if len(sys.argv)<2:
# # a job ID has not been given
#
# # ID = 26184107
# # ID = 26185175 # 1x TM5
# # ID = 26185176 # 1x Landsat
# # ID = 26185177 # 1. Sentinel-2-Testszene
# # ID = 26185189 # direkt benachbarte Granules von 1. Sentinel-2-Testszene
# # ID = 26185237 # 4 x Landsat-8 -> Job per database tools erstellt
# # ID = 26185239 # 50 x Landsat-8 -> Job per database tools erstellt - 1. L8 Beta-Testjob
# # ID = 26185242 # 1 x Landsat-8 - Bug files_in_archive=None
# # ID = 26185250 # Beta-Job - 219 x L8, 172 x L7, 111 x S2, spatref S2
# # ID = 26185251 # 1x L8, Zielsensor L8
# # ID = 26185252 # 1x L8, Zielsensor L8, spat.ref L8
# # ID = 26185253 # 25x L8, Zielsensor L8, spat.ref L8
# # ID = 26185254 # 10x L8, Zielsensor L8, spat.ref L8
# # Grund=Schreibfehler L1A im tiled Python-mode bei mehr als 1 Szene im Job:
# # ID = 26185255 # 1x L8 Bug 5 corners found
# # ID = 26185256 # 1x L7 SLC off, Zielsensor L8, spat.ref L8
# # ID = 26185257 # Beta-Job - 219 x L8, 172 x L7, 111 x S2, spatref L8
# # ID = 26185258 # Beta-Job - 219 x L8, spatref L8
# # ID = 26185259 # Beta-Job - 172 x L7, spatref L8
# # ID = 26185260 # Beta-Job - 111 x S2, spatref L8
# # ID = 26185268 # 25x L7 SLC off, Zielsensor L8, spat.ref L8
# # ID = 26185269 # 1x L7 SLC off, Bug SpatialIndexMediator
# # ID = 26185270 # 5x L7 SLC off, Bug SpatialIndexMediator
# # ID = 26185275 # 1x L8, spat. Ref. L8 Bug L1B_mask not found
# # ID = 26185264 # 1x L8, Bug L1B_masks not found
# # ID = 26185265 # 1x L8, Bug L2B_masks not found
# # ID = 26185268 # "2x L8, Bug L2B_masks not found, incl. 1x bad archive"
# # ID = 26185269 # "10x L8, Bug L2B_masks not found"
# # ID = 26185272 # "1x S2A Sips"
# ID = 26185273 # "1x L7, target L8, spat.ref L8"
# # ID = 26185275 # "1x L7, target L8, spat.ref L8 L1B Matching failed"
# # ID = 26185276 # "1x L7, target L8, spat.ref L8 L1B Matching window became too small."
# # ID = 26185279 # "GEOMS: 25x L7, target L8, spat.ref L8"
# # "GEOMS: 1x L7, target L8, spat.ref L8, debugging NoneType object is not subscriptable within
# # mapinfo2geotransform":
# # ID = 26185280
# # ID = 26185281 # "GEOMS: 4x L7, target L8, spat.ref L8, freeze of pool.map"
# # ID = 26185283 # "GEOMS: 10x L7, target L8, spat.ref L8, freeze of pool.map"
# # ID = 26185284 # "GEOMS: 11x L7, target L8, spat.ref L8, freeze of pool.map"
# # ID = 26185321 # "GEOMS: 1x L7, target L8, spat.ref L8, debugging L1B_P"
# # "GEOMS: 1x L7, target L8, spat.ref L8, Bug calc_shifted_cross_power_spectrum: NoneType object not iterable":
# # ID = 26185322
# # ID = 26185277 # "GMS41: 10x L7, target L8, spat.ref L8, Permission errors during logging"
# # ID = 26185278 # "Beta-Job - 172 x L7, spatref L8"
# # ID = 26185284 # "GMS41: "all beta-L8 with cloud cover <30% (74 scenes)"
# # ID = 26185285 # "GMS41: "all beta-L7 with cloud cover <30% (49 scenes)"
# # ID = 26185396 # "GEOMS: 1x S2A multi GSD testing"
# # ID = 26185398 # "GEOMS: 1x S2A granule multi GSD testing"
#
# else:
# ID = int(sys.argv[1])
#ID = 26187005
# RUN!
parsed_args = get_gms_argparser().parse_args()
parsed_args.func(parsed_args)
......
......@@ -452,6 +452,55 @@ summary_testResults, summary_errors, summary_failures, summary_skipped, jobstatu
@unittest.SkipTest
class Test_in_normal_mode(unittest.TestCase):
def setUp(self):
# self.job_id = 26184107
# self.job_id = 26185175 # 1x TM5
# self.job_id = 26185176 # 1x Landsat
# self.job_id = 26185177 # 1. Sentinel-2-Testszene
# self.job_id = 26185189 # direkt benachbarte Granules von 1. Sentinel-2-Testszene
# self.job_id = 26185237 # 4 x Landsat-8 -> Job per database tools erstellt
# self.job_id = 26185239 # 50 x Landsat-8 -> Job per database tools erstellt - 1. L8 Beta-Testjob
# self.job_id = 26185242 # 1 x Landsat-8 - Bug files_in_archive=None
# self.job_id = 26185250 # Beta-Job - 219 x L8, 172 x L7, 111 x S2, spatref S2
# self.job_id = 26185251 # 1x L8, Zielsensor L8
# self.job_id = 26185252 # 1x L8, Zielsensor L8, spat.ref L8
# self.job_id = 26185253 # 25x L8, Zielsensor L8, spat.ref L8
# self.job_id = 26185254 # 10x L8, Zielsensor L8, spat.ref L8
# Grund=Schreibfehler L1A im tiled Python-mode bei mehr als 1 Szene im Job:
# self.job_id = 26185255 # 1x L8 Bug 5 corners found
# self.job_id = 26185256 # 1x L7 SLC off, Zielsensor L8, spat.ref L8
# self.job_id = 26185257 # Beta-Job - 219 x L8, 172 x L7, 111 x S2, spatref L8
# self.job_id = 26185258 # Beta-Job - 219 x L8, spatref L8
# self.job_id = 26185259 # Beta-Job - 172 x L7, spatref L8
# self.job_id = 26185260 # Beta-Job - 111 x S2, spatref L8
# self.job_id = 26185268 # 25x L7 SLC off, Zielsensor L8, spat.ref L8
# self.job_id = 26185269 # 1x L7 SLC off, Bug SpatialIndexMediator
# self.job_id = 26185270 # 5x L7 SLC off, Bug SpatialIndexMediator
# self.job_id = 26185275 # 1x L8, spat. Ref. L8 Bug L1B_mask not found
# self.job_id = 26185264 # 1x L8, Bug L1B_masks not found
# self.job_id = 26185265 # 1x L8, Bug L2B_masks not found
# self.job_id = 26185268 # "2x L8, Bug L2B_masks not found, incl. 1x bad archive"
# self.job_id = 26185269 # "10x L8, Bug L2B_masks not found"
# self.job_id = 26185272 # "1x S2A Sips"
# self.job_id = 26185273 # "1x L7, target L8, spat.ref L8"
# self.job_id = 26185275 # "1x L7, target L8, spat.ref L8 L1B Matching failed"
# self.job_id = 26185276 # "1x L7, target L8, spat.ref L8 L1B Matching window became too small."
# self.job_id = 26185279 # "GEOMS: 25x L7, target L8, spat.ref L8"
# "GEOMS: 1x L7, target L8, spat.ref L8, debugging NoneType object is not subscriptable within
# mapinfo2geotransform":
# self.job_id = 26185280
# self.job_id = 26185281 # "GEOMS: 4x L7, target L8, spat.ref L8, freeze of pool.map"
# self.job_id = 26185283 # "GEOMS: 10x L7, target L8, spat.ref L8, freeze of pool.map"
# self.job_id = 26185284 # "GEOMS: 11x L7, target L8, spat.ref L8, freeze of pool.map"
# self.job_id = 26185321 # "GEOMS: 1x L7, target L8, spat.ref L8, debugging L1B_P"
# "GEOMS: 1x L7, target L8, spat.ref L8, Bug calc_shifted_cross_power_spectrum: NoneType object not iterable":
# self.job_id = 26185322
# self.job_id = 26185277 # "GMS41: 10x L7, target L8, spat.ref L8, Permission errors during logging"
# self.job_id = 26185278 # "Beta-Job - 172 x L7, spatref L8"
# self.job_id = 26185284 # "GMS41: "all beta-L8 with cloud cover <30% (74 scenes)"
# self.job_id = 26185285 # "GMS41: "all beta-L7 with cloud cover <30% (49 scenes)"
# self.job_id = 26185396 # "GEOMS: 1x S2A multi GSD testing"
# self.job_id = 26185398 # "GEOMS: 1x S2A granule multi GSD testing"
# self.job_id = 26186740 # Testjob Landsat-8
# self.job_id = 26186906 # Bug Input Validator
# self.job_id = 26186925 # 1 Sentinel-2A, Bug NoneType' object has no attribute 'find'
......
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