aboutsummaryrefslogtreecommitdiff
path: root/grib_info.py
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2023-08-13 21:02:42 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2023-08-13 21:02:42 +0200
commitae709fdf1eb0df384835509a6c9500b69301d14c (patch)
treebaa7eadaf40911298978c5fdbb3a73d3f7c59a47 /grib_info.py
parent417df67b59017cd8272926be628898874348b8da (diff)
downloadmeteo_toolbox-ae709fdf1eb0df384835509a6c9500b69301d14c.tar.gz
asdf
Diffstat (limited to 'grib_info.py')
-rwxr-xr-xgrib_info.py7
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)