Python examples: run isort

This commit is contained in:
Shahram Najm 2021-09-15 12:28:05 +01:00
parent 4ff8598284
commit 2db15a68fc
45 changed files with 108 additions and 59 deletions

View File

@ -9,8 +9,8 @@
# nor does it submit to any jurisdiction.
#
import traceback
import sys
import traceback
from eccodes import *

View File

@ -15,8 +15,10 @@
#
from __future__ import print_function
import traceback
import sys
import traceback
from eccodes import *
INPUT = '../../data/bufr/syno_multi.bufr'

View File

@ -16,8 +16,9 @@
#
from __future__ import absolute_import
import traceback
import sys
import traceback
from eccodes import *

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 *

View File

@ -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'

View File

@ -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

View File

@ -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 *

View File

@ -15,8 +15,9 @@
#
from __future__ import print_function
import traceback
import sys
import traceback
from eccodes import *

View File

@ -16,8 +16,9 @@
from __future__ import print_function
import traceback
import sys
import traceback
from eccodes import *

View File

@ -16,8 +16,9 @@
#
from __future__ import print_function
import traceback
import sys
import traceback
from eccodes import *

View File

@ -14,8 +14,9 @@
#
from __future__ import print_function
import traceback
import sys
import traceback
from eccodes import *

View File

@ -20,8 +20,9 @@
#
from __future__ import print_function
import traceback
import sys
import traceback
from eccodes import *

View File

@ -19,8 +19,9 @@
# understand the structure of the messages.
from __future__ import print_function
import traceback
import sys
import traceback
from eccodes import *

View File

@ -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'

View File

@ -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 *

View File

@ -17,9 +17,10 @@
#
from __future__ import print_function
import traceback
import sys
import collections
import sys
import traceback
from eccodes import *

View File

@ -15,8 +15,9 @@
#
from __future__ import print_function
import traceback
import sys
import traceback
from eccodes import *

View File

@ -15,8 +15,9 @@
#
from __future__ import print_function
import traceback
import sys
import traceback
from eccodes import *

View File

@ -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

View File

@ -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 *

View File

@ -9,9 +9,9 @@
# nor does it submit to any jurisdiction.
#
import traceback
import sys
import random
import sys
import traceback
from eccodes import *

View File

@ -10,8 +10,9 @@
#
from __future__ import print_function
import traceback
import sys
import traceback
from eccodes import *

View File

@ -13,8 +13,10 @@
#
from __future__ import print_function
import traceback
import sys
import traceback
from eccodes import *
INPUT = '../../data/reduced_latlon_surface.grib1'

View File

@ -15,8 +15,10 @@
#
from __future__ import print_function
import traceback
import sys
import traceback
from eccodes import *
VERBOSE = 1 # verbose error reporting

View File

@ -13,9 +13,10 @@
# a file
from __future__ import print_function
import traceback
import sys
import os
import sys
import traceback
from eccodes import *

View File

@ -9,8 +9,9 @@
#
from __future__ import print_function
import traceback
import sys
import traceback
from eccodes import *

View File

@ -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 *

View File

@ -10,8 +10,9 @@
#
from __future__ import print_function
import traceback
import sys
import traceback
from eccodes import *

View File

@ -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

View File

@ -9,8 +9,8 @@
# nor does it submit to any jurisdiction.
#
import traceback
import sys
import traceback
from eccodes import *

View File

@ -10,8 +10,9 @@
#
from __future__ import print_function
import traceback
import sys
import traceback
from eccodes import *

View File

@ -10,8 +10,9 @@
#
from __future__ import print_function
import traceback
import sys
import traceback
from eccodes import *

View File

@ -14,8 +14,9 @@
#
from __future__ import print_function
import traceback
import sys
import traceback
from eccodes import *

View File

@ -9,8 +9,8 @@
# nor does it submit to any jurisdiction.
#
import traceback
import sys
import traceback
from eccodes import *

View File

@ -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'

View File

@ -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'

View File

@ -9,8 +9,8 @@
# nor does it submit to any jurisdiction.
#
import traceback
import sys
import traceback
from eccodes import *

View File

@ -9,8 +9,8 @@
# nor does it submit to any jurisdiction.
#
import traceback
import sys
import traceback
from eccodes import *

View File

@ -14,8 +14,9 @@
#
from __future__ import print_function
import traceback
import sys
import traceback
from eccodes import *

View File

@ -10,8 +10,9 @@
#
from __future__ import print_function
import traceback
import sys
import traceback
from eccodes import *

View File

@ -15,8 +15,9 @@
#
from __future__ import print_function
import traceback
import sys
import traceback
from eccodes import *

View File

@ -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 *