From 1d3f068753cf4046ec1af1063277e872dc183e5c Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Tue, 5 Feb 2019 14:55:28 +0000 Subject: [PATCH] Documentation --- examples/python/grib_get_keys.py | 6 +++++- examples/python/grib_get_message_offset.py | 2 +- examples/python/grib_set_keys.py | 5 +++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/examples/python/grib_get_keys.py b/examples/python/grib_get_keys.py index 68eaefcb7..00f3392a3 100644 --- a/examples/python/grib_get_keys.py +++ b/examples/python/grib_get_keys.py @@ -7,10 +7,14 @@ # granted to it by virtue of its status as an intergovernmental organisation # nor does it submit to any jurisdiction. +# Python implementation: grib_get_keys +# +# Description: how to get values using keys from GRIB messages +# + from __future__ import print_function import traceback import sys - from eccodes import * INPUT = '../../data/reduced_latlon_surface.grib1' diff --git a/examples/python/grib_get_message_offset.py b/examples/python/grib_get_message_offset.py index e36392564..ecd2dc6a6 100644 --- a/examples/python/grib_get_message_offset.py +++ b/examples/python/grib_get_message_offset.py @@ -9,7 +9,7 @@ # nor does it submit to any jurisdiction. # -# Python implementation: get_message_offset +# Python implementation: grib_get_message_offset # # Description: how to get the message offset # diff --git a/examples/python/grib_set_keys.py b/examples/python/grib_set_keys.py index 600294489..4f9444621 100644 --- a/examples/python/grib_set_keys.py +++ b/examples/python/grib_set_keys.py @@ -7,6 +7,11 @@ # granted to it by virtue of its status as an intergovernmental organisation # nor does it submit to any jurisdiction. +# Python Implementation: grib_set_keys +# +# Description: how to set key values in GRIB messages +# + from __future__ import print_function import traceback import sys