diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2023-08-13 21:02:42 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2023-08-13 21:02:42 +0200 |
commit | ae709fdf1eb0df384835509a6c9500b69301d14c (patch) | |
tree | baa7eadaf40911298978c5fdbb3a73d3f7c59a47 /grib_info.py | |
parent | 417df67b59017cd8272926be628898874348b8da (diff) | |
download | meteo_toolbox-ae709fdf1eb0df384835509a6c9500b69301d14c.tar.gz |
asdf
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) |