ECC-1511: Remove the Python2 interface. Clean up examples

This commit is contained in:
Shahram Najm 2023-01-23 17:44:36 +00:00
parent d51e1bdb14
commit 076f1050a8
38 changed files with 1 additions and 65 deletions

View File

@ -14,8 +14,6 @@
#
#
from __future__ import print_function
import sys
import traceback

View File

@ -10,8 +10,6 @@
# Description: Verify the given BUFR table (B or D) are correctly formed for ecCodes
#
from __future__ import print_function
import os
import sys

View File

@ -13,7 +13,6 @@
# Description: How to copy all the values in the data section that are present in the same
# position in the data tree and with the same number of values to the output handle
#
from __future__ import print_function
import sys
import traceback

View File

@ -14,7 +14,6 @@
# position in the data tree and with the same number of values to the output handle.
# This example is for messages which use the operator 203YYY (overridden reference values)
#
from __future__ import print_function
import sys
import traceback

View File

@ -14,7 +14,6 @@
# position in the data tree and with the same number of values to the output handle.
# In this example we add the WIGOS sequence 301150 to a SYNOP
#
from __future__ import print_function
import sys
import traceback

View File

@ -7,7 +7,6 @@
# granted to it by virtue of its status as an intergovernmental organisation
# nor does it submit to any jurisdiction.
from __future__ import print_function
import sys
import traceback

View File

@ -2,8 +2,6 @@
# and then edited to add the bitmap.
# See ECC-869
from __future__ import print_function
import sys
import traceback

View File

@ -10,8 +10,6 @@
# Description: how to encode flight dataset into BUFR
from __future__ import print_function
import sys
import traceback
from datetime import datetime

View File

@ -13,7 +13,7 @@
# Description: how to read values of different type of keys from BUFR messages.
#
from __future__ import absolute_import, print_function
from __future__ import absolute_import
import sys
import traceback

View File

@ -14,8 +14,6 @@
#
#
from __future__ import print_function
import sys
import traceback

View File

@ -15,8 +15,6 @@
# keys in a BUFR message.
from __future__ import print_function
import sys
import traceback

View File

@ -15,8 +15,6 @@
#
#
from __future__ import print_function
import sys
import traceback

View File

@ -13,8 +13,6 @@
# Description: read key values from a BUFR sample message.
#
from __future__ import print_function
import sys
import traceback

View File

@ -19,8 +19,6 @@
# understand the structure of these messages.
#
from __future__ import print_function
import sys
import traceback

View File

@ -18,8 +18,6 @@
# messages than the one used in the example. It is advised to use bufr_dump to
# understand the structure of the messages.
from __future__ import print_function
import sys
import traceback

View File

@ -19,7 +19,6 @@
# messages than the one used in the example. It is advised to use bufr_dump to
# understand the structure of the messages.
#
from __future__ import print_function
import sys
import traceback

View File

@ -22,7 +22,6 @@
# messages than the one used in the example. It is advised to use bufr_dump to
# understand the structure of the messages.
#
from __future__ import print_function
import sys
import traceback

View File

@ -16,8 +16,6 @@
# understand the structure of the messages.
#
from __future__ import print_function
import collections
import sys
import traceback

View File

@ -14,8 +14,6 @@
#
#
from __future__ import print_function
import sys
import traceback

View File

@ -14,8 +14,6 @@
#
#
from __future__ import print_function
import sys
import traceback

View File

@ -14,7 +14,6 @@
# Description: how to process a file containing a mix of messages
# and print the kind of product (e.g. GRIB, BUFR etc)
from __future__ import print_function
import sys
import traceback

View File

@ -7,8 +7,6 @@
# granted to it by virtue of its status as an intergovernmental organisation
# nor does it submit to any jurisdiction.
from __future__ import print_function
import sys
import traceback

View File

@ -9,8 +9,6 @@
# nor does it submit to any jurisdiction.
#
from __future__ import print_function
import sys
import traceback

View File

@ -12,8 +12,6 @@
# Description: how to get values using keys from GRIB messages
#
from __future__ import print_function
import sys
import traceback

View File

@ -14,8 +14,6 @@
# Description: how to get the message offset
#
from __future__ import print_function
import sys
import traceback

View File

@ -12,8 +12,6 @@
# Description: How to create and use an index to access GRIB messages from
# a file
from __future__ import print_function
import os
import sys
import traceback

View File

@ -8,8 +8,6 @@
# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
#
from __future__ import print_function
import sys
import traceback

View File

@ -12,7 +12,6 @@
# for missing values
# (rather than compare each value with the missingValue key)
#
from __future__ import print_function
import sys
import traceback

View File

@ -9,8 +9,6 @@
# nor does it submit to any jurisdiction.
#
from __future__ import print_function
import sys
import traceback

View File

@ -11,8 +11,6 @@
# Description: how to read data of the ECMWF EPS tropical cyclone tracks encoded in BUFR format.
#
from __future__ import print_function
import getopt
import os
import sys

View File

@ -9,8 +9,6 @@
# nor does it submit to any jurisdiction.
#
from __future__ import print_function
import sys
import traceback

View File

@ -9,8 +9,6 @@
# nor does it submit to any jurisdiction.
#
from __future__ import print_function
import sys
import traceback

View File

@ -13,8 +13,6 @@
# Description: read key values from a GRIB sample message.
#
from __future__ import print_function
import sys
import traceback

View File

@ -6,7 +6,6 @@
# In applying this licence, ECMWF does not waive the privileges and immunities granted to it by
# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
from __future__ import print_function
import sys
import traceback

View File

@ -12,8 +12,6 @@
# Description: how to set key values in GRIB messages
#
from __future__ import print_function
import sys
import traceback
from collections import OrderedDict

View File

@ -13,8 +13,6 @@
# Description: how to read values of different type of keys from GTS messages.
#
from __future__ import print_function
import sys
import traceback

View File

@ -9,7 +9,6 @@
# nor does it submit to any jurisdiction.
#
from __future__ import print_function
import sys
import traceback

View File

@ -14,8 +14,6 @@
#
#
from __future__ import print_function
import sys
import traceback