mirror of https://github.com/ecmwf/eccodes.git
Python examples: run isort
This commit is contained in:
parent
4ff8598284
commit
2db15a68fc
|
@ -9,8 +9,8 @@
|
|||
# nor does it submit to any jurisdiction.
|
||||
#
|
||||
|
||||
import traceback
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -15,8 +15,10 @@
|
|||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
INPUT = '../../data/bufr/syno_multi.bufr'
|
||||
|
|
|
@ -16,8 +16,9 @@
|
|||
#
|
||||
|
||||
from __future__ import absolute_import
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -14,8 +14,10 @@
|
|||
# position in the data tree and with the same number of values to the output handle
|
||||
#
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
VERBOSE = 1 # verbose error reporting
|
||||
|
|
|
@ -15,8 +15,10 @@
|
|||
# This example is for messages which use the operator 203YYY (overridden reference values)
|
||||
#
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
VERBOSE = 1 # verbose error reporting
|
||||
|
|
|
@ -15,8 +15,10 @@
|
|||
# In this example we add the WIGOS sequence 301150 to a SYNOP
|
||||
#
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
VERBOSE = 1 # verbose error reporting
|
||||
|
|
|
@ -8,8 +8,9 @@
|
|||
# nor does it submit to any jurisdiction.
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -3,8 +3,10 @@
|
|||
# See ECC-869
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
OUTPUT_FILENAME = 'outfile_ecc_869_test.bufr'
|
||||
|
|
|
@ -11,11 +11,12 @@
|
|||
# Description: how to encode flight dataset into BUFR
|
||||
|
||||
from __future__ import print_function
|
||||
from datetime import datetime
|
||||
import traceback
|
||||
import numpy as np
|
||||
import sys
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
from datetime import datetime
|
||||
|
||||
import numpy as np
|
||||
from eccodes import *
|
||||
|
||||
VERBOSE = 1 # verbose error reporting
|
||||
|
|
|
@ -13,10 +13,10 @@
|
|||
# Description: how to read values of different type of keys from BUFR messages.
|
||||
#
|
||||
|
||||
from __future__ import absolute_import
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
from __future__ import absolute_import, print_function
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -15,8 +15,9 @@
|
|||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -16,8 +16,9 @@
|
|||
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -16,8 +16,9 @@
|
|||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -14,8 +14,9 @@
|
|||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -20,8 +20,9 @@
|
|||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -19,8 +19,9 @@
|
|||
# understand the structure of the messages.
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -20,8 +20,10 @@
|
|||
# understand the structure of the messages.
|
||||
#
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
INPUT = '../../data/bufr/PraticaTemp.bufr'
|
||||
|
|
|
@ -23,8 +23,10 @@
|
|||
# understand the structure of the messages.
|
||||
#
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
import numpy as np
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -17,9 +17,10 @@
|
|||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
import sys
|
||||
|
||||
import collections
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -15,8 +15,9 @@
|
|||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -15,8 +15,9 @@
|
|||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -15,8 +15,10 @@
|
|||
# and print the kind of product (e.g. GRIB, BUFR etc)
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
VERBOSE = 1 # verbose error reporting
|
||||
|
|
|
@ -8,8 +8,9 @@
|
|||
# nor does it submit to any jurisdiction.
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
# nor does it submit to any jurisdiction.
|
||||
#
|
||||
|
||||
import traceback
|
||||
import sys
|
||||
import random
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -10,8 +10,9 @@
|
|||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -13,8 +13,10 @@
|
|||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
INPUT = '../../data/reduced_latlon_surface.grib1'
|
||||
|
|
|
@ -15,8 +15,10 @@
|
|||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
VERBOSE = 1 # verbose error reporting
|
||||
|
|
|
@ -13,9 +13,10 @@
|
|||
# a file
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
import sys
|
||||
|
||||
import os
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -9,8 +9,9 @@
|
|||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -13,8 +13,9 @@
|
|||
# (rather than compare each value with the missingValue key)
|
||||
#
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -10,8 +10,9 @@
|
|||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -12,10 +12,12 @@
|
|||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
import sys
|
||||
import os
|
||||
|
||||
import getopt
|
||||
import os
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
VERBOSE = 1 # verbose error reporting
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
# nor does it submit to any jurisdiction.
|
||||
#
|
||||
|
||||
import traceback
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -10,8 +10,9 @@
|
|||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -10,8 +10,9 @@
|
|||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -14,8 +14,9 @@
|
|||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
# nor does it submit to any jurisdiction.
|
||||
#
|
||||
|
||||
import traceback
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -7,8 +7,10 @@
|
|||
# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
INPUT = '../../data/regular_latlon_surface.grib1'
|
||||
|
|
|
@ -13,12 +13,13 @@
|
|||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
from collections import OrderedDict
|
||||
from datetime import date
|
||||
|
||||
from eccodes import *
|
||||
from datetime import date
|
||||
from collections import OrderedDict
|
||||
|
||||
INPUT = '../../data/regular_latlon_surface_constant.grib1'
|
||||
OUTPUT = 'out.set.grib'
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
# nor does it submit to any jurisdiction.
|
||||
#
|
||||
|
||||
import traceback
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
# nor does it submit to any jurisdiction.
|
||||
#
|
||||
|
||||
import traceback
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -14,8 +14,9 @@
|
|||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -10,8 +10,9 @@
|
|||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -15,8 +15,9 @@
|
|||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
# granted to it by virtue of its status as an intergovernmental organisation
|
||||
# nor does it submit to any jurisdiction.
|
||||
|
||||
import traceback
|
||||
import sys
|
||||
import getopt
|
||||
import os
|
||||
import re
|
||||
import getopt
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from eccodes import *
|
||||
|
||||
|
|
Loading…
Reference in New Issue