From 22501bf7dcec33b06876f8437ee796a81f67c53a Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Wed, 9 Aug 2017 14:36:04 +0100 Subject: [PATCH] Python examples: Had to remove six.moves. Bamboo build on opensuse131 broke! --- examples/python/bufr_clone.py | 1 - examples/python/bufr_expanded.py | 1 - examples/python/bufr_get_keys.py | 1 - examples/python/bufr_read_scatterometer.py | 1 - examples/python/bufr_read_temp.py | 1 - examples/python/bufr_read_tropical_cyclone.py | 1 - examples/python/bufr_subset.py | 1 - examples/python/grib_clone.py | 1 - examples/python/grib_count_messages.py | 1 - examples/python/grib_index.py | 2 -- examples/python/grib_multi_write.py | 1 - examples/python/grib_nearest.py | 1 - examples/python/grib_print_data.py | 1 - examples/python/grib_samples.py | 1 - examples/python/grib_set_bitmap.py | 1 - examples/python/high_level_api.py | 1 - 16 files changed, 17 deletions(-) diff --git a/examples/python/bufr_clone.py b/examples/python/bufr_clone.py index 1ab9c0981..43b93daa0 100644 --- a/examples/python/bufr_clone.py +++ b/examples/python/bufr_clone.py @@ -20,7 +20,6 @@ import traceback import sys from eccodes import * -from six.moves import range INPUT = '../../data/bufr/syno_1.bufr' OUTPUT = 'bufr_clone_test_p.clone.bufr' diff --git a/examples/python/bufr_expanded.py b/examples/python/bufr_expanded.py index ab6e42e3f..d318a6808 100644 --- a/examples/python/bufr_expanded.py +++ b/examples/python/bufr_expanded.py @@ -20,7 +20,6 @@ import traceback import sys from eccodes import * -from six.moves import range INPUT = '../../data/bufr/syno_1.bufr' VERBOSE = 1 # verbose error reporting diff --git a/examples/python/bufr_get_keys.py b/examples/python/bufr_get_keys.py index 837f0e748..507d66a42 100644 --- a/examples/python/bufr_get_keys.py +++ b/examples/python/bufr_get_keys.py @@ -19,7 +19,6 @@ import traceback import sys from eccodes import * -from six.moves import range INPUT = '../../data/bufr/syno_multi.bufr' VERBOSE = 1 # verbose error reporting diff --git a/examples/python/bufr_read_scatterometer.py b/examples/python/bufr_read_scatterometer.py index 9f206f1b7..f86212759 100644 --- a/examples/python/bufr_read_scatterometer.py +++ b/examples/python/bufr_read_scatterometer.py @@ -24,7 +24,6 @@ import traceback import sys from eccodes import * -from six.moves import range INPUT = '../../data/bufr/asca_139.bufr' VERBOSE = 1 # verbose error reporting diff --git a/examples/python/bufr_read_temp.py b/examples/python/bufr_read_temp.py index 74c474900..2eea4091c 100644 --- a/examples/python/bufr_read_temp.py +++ b/examples/python/bufr_read_temp.py @@ -23,7 +23,6 @@ from __future__ import print_function import traceback import sys from eccodes import * -from six.moves import range INPUT = '../../data/bufr/PraticaTemp.bufr' VERBOSE = 1 # verbose error reporting diff --git a/examples/python/bufr_read_tropical_cyclone.py b/examples/python/bufr_read_tropical_cyclone.py index c36da03da..dffcb3167 100644 --- a/examples/python/bufr_read_tropical_cyclone.py +++ b/examples/python/bufr_read_tropical_cyclone.py @@ -17,7 +17,6 @@ import sys import collections from eccodes import * -from six.moves import range INPUT = '../../data/bufr/tropical_cyclone.bufr' VERBOSE = 1 # verbose error reporting diff --git a/examples/python/bufr_subset.py b/examples/python/bufr_subset.py index 54367bd86..93f561075 100644 --- a/examples/python/bufr_subset.py +++ b/examples/python/bufr_subset.py @@ -19,7 +19,6 @@ import traceback import sys from eccodes import * -from six.moves import range INPUT = '../../data/bufr/synop_multi_subset.bufr' VERBOSE = 1 # verbose error reporting diff --git a/examples/python/grib_clone.py b/examples/python/grib_clone.py index 8cc9ad2a3..bd080b97f 100644 --- a/examples/python/grib_clone.py +++ b/examples/python/grib_clone.py @@ -14,7 +14,6 @@ import sys import random from eccodes import * -from six.moves import range INPUT = '../../data/constant_field.grib1' OUTPUT = 'out.clone.grib' diff --git a/examples/python/grib_count_messages.py b/examples/python/grib_count_messages.py index 53ca13be7..7b8cb526c 100644 --- a/examples/python/grib_count_messages.py +++ b/examples/python/grib_count_messages.py @@ -14,7 +14,6 @@ import traceback import sys from eccodes import * -from six.moves import range INPUT = '../../data/tigge_pf_ecmwf.grib2' VERBOSE = 1 # verbose error reporting diff --git a/examples/python/grib_index.py b/examples/python/grib_index.py index ccd93fd84..4d18b1a55 100644 --- a/examples/python/grib_index.py +++ b/examples/python/grib_index.py @@ -18,8 +18,6 @@ import sys import os from eccodes import * -from six.moves import map -from six.moves import range INPUT = '../../data/index.grib' VERBOSE = 1 # verbose error reporting diff --git a/examples/python/grib_multi_write.py b/examples/python/grib_multi_write.py index 6a87fd197..d11b97288 100644 --- a/examples/python/grib_multi_write.py +++ b/examples/python/grib_multi_write.py @@ -13,7 +13,6 @@ import traceback import sys from eccodes import * -from six.moves import range INPUT = '../../data/sample.grib2' OUTPUT = 'out.mw.grib' diff --git a/examples/python/grib_nearest.py b/examples/python/grib_nearest.py index 275622c12..e629a14a0 100644 --- a/examples/python/grib_nearest.py +++ b/examples/python/grib_nearest.py @@ -14,7 +14,6 @@ import traceback import sys from eccodes import * -from six.moves import range INPUT = '../../data/reduced_gaussian_lsm.grib1' VERBOSE = 1 # verbose error reporting diff --git a/examples/python/grib_print_data.py b/examples/python/grib_print_data.py index d59943260..380ab884d 100644 --- a/examples/python/grib_print_data.py +++ b/examples/python/grib_print_data.py @@ -14,7 +14,6 @@ import traceback import sys from eccodes import * -from six.moves import range INPUT = '../../data/regular_latlon_surface.grib1' VERBOSE = 1 # verbose error reporting diff --git a/examples/python/grib_samples.py b/examples/python/grib_samples.py index 2db796d82..d744c4afc 100644 --- a/examples/python/grib_samples.py +++ b/examples/python/grib_samples.py @@ -13,7 +13,6 @@ import traceback import sys from eccodes import * -from six.moves import range INPUT = '../../data/tp_ecmwf.grib' OUTPUT = 'p_out.grib_samples.grib' diff --git a/examples/python/grib_set_bitmap.py b/examples/python/grib_set_bitmap.py index 491e275e6..58f7f7362 100644 --- a/examples/python/grib_set_bitmap.py +++ b/examples/python/grib_set_bitmap.py @@ -10,7 +10,6 @@ from __future__ import print_function import traceback import sys from eccodes import * -from six.moves import range INPUT = '../../data/regular_latlon_surface.grib1' OUTPUT = 'out.set_bitmap_p.grib' diff --git a/examples/python/high_level_api.py b/examples/python/high_level_api.py index cb9433bf5..61aee825c 100644 --- a/examples/python/high_level_api.py +++ b/examples/python/high_level_api.py @@ -15,7 +15,6 @@ from eccodes import GribIndex from eccodes import GribMessage from eccodes.high_level.gribmessage import IndexNotSelectedError from eccodes import BufrFile, BufrMessage -from six.moves import range TESTGRIB = "../../data/high_level_api.grib2" TESTBUFR = "../../data/bufr/syno_multi.bufr"