diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2023-08-25 12:48:51 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2023-08-25 12:48:51 +0200 |
commit | 27b78272512cf229fa5dfa52a376a04877cc7dfd (patch) | |
tree | 589ba95d69548f7710f18aac251eddb396e045f3 /test/grib_info.py | |
parent | 7a4b8a91ce5b9bbd2ce806d2463e95634ad8b1a1 (diff) | |
download | meteo_toolbox-27b78272512cf229fa5dfa52a376a04877cc7dfd.tar.gz |
move stuff
Diffstat (limited to 'test/grib_info.py')
-rwxr-xr-x | test/grib_info.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/grib_info.py b/test/grib_info.py new file mode 100755 index 0000000..1f3b5c7 --- /dev/null +++ b/test/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) |