diff options
Diffstat (limited to 'grib_info.py')
-rwxr-xr-x | grib_info.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/grib_info.py b/grib_info.py new file mode 100755 index 0000000..1f3b5c7 --- /dev/null +++ b/grib_info.py @@ -0,0 +1,7 @@ +#!/usr/bin/env python3 +import pygrib +import sys + +grib = pygrib.open(sys.argv[1]) +for grb in grib: + print(sys.argv[1], grb) |