mirror of https://github.com/ecmwf/eccodes.git
Python examples: Had to remove six.moves. Bamboo build on opensuse131 broke!
This commit is contained in:
parent
8b73776785
commit
22501bf7dc
|
@ -20,7 +20,6 @@ import traceback
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from eccodes import *
|
from eccodes import *
|
||||||
from six.moves import range
|
|
||||||
|
|
||||||
INPUT = '../../data/bufr/syno_1.bufr'
|
INPUT = '../../data/bufr/syno_1.bufr'
|
||||||
OUTPUT = 'bufr_clone_test_p.clone.bufr'
|
OUTPUT = 'bufr_clone_test_p.clone.bufr'
|
||||||
|
|
|
@ -20,7 +20,6 @@ import traceback
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from eccodes import *
|
from eccodes import *
|
||||||
from six.moves import range
|
|
||||||
|
|
||||||
INPUT = '../../data/bufr/syno_1.bufr'
|
INPUT = '../../data/bufr/syno_1.bufr'
|
||||||
VERBOSE = 1 # verbose error reporting
|
VERBOSE = 1 # verbose error reporting
|
||||||
|
|
|
@ -19,7 +19,6 @@ import traceback
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from eccodes import *
|
from eccodes import *
|
||||||
from six.moves import range
|
|
||||||
|
|
||||||
INPUT = '../../data/bufr/syno_multi.bufr'
|
INPUT = '../../data/bufr/syno_multi.bufr'
|
||||||
VERBOSE = 1 # verbose error reporting
|
VERBOSE = 1 # verbose error reporting
|
||||||
|
|
|
@ -24,7 +24,6 @@ import traceback
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from eccodes import *
|
from eccodes import *
|
||||||
from six.moves import range
|
|
||||||
|
|
||||||
INPUT = '../../data/bufr/asca_139.bufr'
|
INPUT = '../../data/bufr/asca_139.bufr'
|
||||||
VERBOSE = 1 # verbose error reporting
|
VERBOSE = 1 # verbose error reporting
|
||||||
|
|
|
@ -23,7 +23,6 @@ from __future__ import print_function
|
||||||
import traceback
|
import traceback
|
||||||
import sys
|
import sys
|
||||||
from eccodes import *
|
from eccodes import *
|
||||||
from six.moves import range
|
|
||||||
|
|
||||||
INPUT = '../../data/bufr/PraticaTemp.bufr'
|
INPUT = '../../data/bufr/PraticaTemp.bufr'
|
||||||
VERBOSE = 1 # verbose error reporting
|
VERBOSE = 1 # verbose error reporting
|
||||||
|
|
|
@ -17,7 +17,6 @@ import sys
|
||||||
import collections
|
import collections
|
||||||
|
|
||||||
from eccodes import *
|
from eccodes import *
|
||||||
from six.moves import range
|
|
||||||
|
|
||||||
INPUT = '../../data/bufr/tropical_cyclone.bufr'
|
INPUT = '../../data/bufr/tropical_cyclone.bufr'
|
||||||
VERBOSE = 1 # verbose error reporting
|
VERBOSE = 1 # verbose error reporting
|
||||||
|
|
|
@ -19,7 +19,6 @@ import traceback
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from eccodes import *
|
from eccodes import *
|
||||||
from six.moves import range
|
|
||||||
|
|
||||||
INPUT = '../../data/bufr/synop_multi_subset.bufr'
|
INPUT = '../../data/bufr/synop_multi_subset.bufr'
|
||||||
VERBOSE = 1 # verbose error reporting
|
VERBOSE = 1 # verbose error reporting
|
||||||
|
|
|
@ -14,7 +14,6 @@ import sys
|
||||||
import random
|
import random
|
||||||
|
|
||||||
from eccodes import *
|
from eccodes import *
|
||||||
from six.moves import range
|
|
||||||
|
|
||||||
INPUT = '../../data/constant_field.grib1'
|
INPUT = '../../data/constant_field.grib1'
|
||||||
OUTPUT = 'out.clone.grib'
|
OUTPUT = 'out.clone.grib'
|
||||||
|
|
|
@ -14,7 +14,6 @@ import traceback
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from eccodes import *
|
from eccodes import *
|
||||||
from six.moves import range
|
|
||||||
|
|
||||||
INPUT = '../../data/tigge_pf_ecmwf.grib2'
|
INPUT = '../../data/tigge_pf_ecmwf.grib2'
|
||||||
VERBOSE = 1 # verbose error reporting
|
VERBOSE = 1 # verbose error reporting
|
||||||
|
|
|
@ -18,8 +18,6 @@ import sys
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from eccodes import *
|
from eccodes import *
|
||||||
from six.moves import map
|
|
||||||
from six.moves import range
|
|
||||||
|
|
||||||
INPUT = '../../data/index.grib'
|
INPUT = '../../data/index.grib'
|
||||||
VERBOSE = 1 # verbose error reporting
|
VERBOSE = 1 # verbose error reporting
|
||||||
|
|
|
@ -13,7 +13,6 @@ import traceback
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from eccodes import *
|
from eccodes import *
|
||||||
from six.moves import range
|
|
||||||
|
|
||||||
INPUT = '../../data/sample.grib2'
|
INPUT = '../../data/sample.grib2'
|
||||||
OUTPUT = 'out.mw.grib'
|
OUTPUT = 'out.mw.grib'
|
||||||
|
|
|
@ -14,7 +14,6 @@ import traceback
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from eccodes import *
|
from eccodes import *
|
||||||
from six.moves import range
|
|
||||||
|
|
||||||
INPUT = '../../data/reduced_gaussian_lsm.grib1'
|
INPUT = '../../data/reduced_gaussian_lsm.grib1'
|
||||||
VERBOSE = 1 # verbose error reporting
|
VERBOSE = 1 # verbose error reporting
|
||||||
|
|
|
@ -14,7 +14,6 @@ import traceback
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from eccodes import *
|
from eccodes import *
|
||||||
from six.moves import range
|
|
||||||
|
|
||||||
INPUT = '../../data/regular_latlon_surface.grib1'
|
INPUT = '../../data/regular_latlon_surface.grib1'
|
||||||
VERBOSE = 1 # verbose error reporting
|
VERBOSE = 1 # verbose error reporting
|
||||||
|
|
|
@ -13,7 +13,6 @@ import traceback
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from eccodes import *
|
from eccodes import *
|
||||||
from six.moves import range
|
|
||||||
|
|
||||||
INPUT = '../../data/tp_ecmwf.grib'
|
INPUT = '../../data/tp_ecmwf.grib'
|
||||||
OUTPUT = 'p_out.grib_samples.grib'
|
OUTPUT = 'p_out.grib_samples.grib'
|
||||||
|
|
|
@ -10,7 +10,6 @@ from __future__ import print_function
|
||||||
import traceback
|
import traceback
|
||||||
import sys
|
import sys
|
||||||
from eccodes import *
|
from eccodes import *
|
||||||
from six.moves import range
|
|
||||||
|
|
||||||
INPUT = '../../data/regular_latlon_surface.grib1'
|
INPUT = '../../data/regular_latlon_surface.grib1'
|
||||||
OUTPUT = 'out.set_bitmap_p.grib'
|
OUTPUT = 'out.set_bitmap_p.grib'
|
||||||
|
|
|
@ -15,7 +15,6 @@ from eccodes import GribIndex
|
||||||
from eccodes import GribMessage
|
from eccodes import GribMessage
|
||||||
from eccodes.high_level.gribmessage import IndexNotSelectedError
|
from eccodes.high_level.gribmessage import IndexNotSelectedError
|
||||||
from eccodes import BufrFile, BufrMessage
|
from eccodes import BufrFile, BufrMessage
|
||||||
from six.moves import range
|
|
||||||
|
|
||||||
TESTGRIB = "../../data/high_level_api.grib2"
|
TESTGRIB = "../../data/high_level_api.grib2"
|
||||||
TESTBUFR = "../../data/bufr/syno_multi.bufr"
|
TESTBUFR = "../../data/bufr/syno_multi.bufr"
|
||||||
|
|
Loading…
Reference in New Issue