From c5ba8ced3a7fab0cb8040cd8d2d5406f5ba30624 Mon Sep 17 00:00:00 2001 From: mammatus95 Date: Tue, 28 May 2024 19:57:34 +0200 Subject: [PATCH] small changes modelinfo --- src/__init__.py | 1 - src/modelinfolib.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/__init__.py b/src/__init__.py index 8b13789..e69de29 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -1 +0,0 @@ - diff --git a/src/modelinfolib.py b/src/modelinfolib.py index f0d4039..6ea719a 100644 --- a/src/modelinfolib.py +++ b/src/modelinfolib.py @@ -223,7 +223,7 @@ def open_gribfile_preslvl(self, fp, path="./modeldata/"): # Open the GRIB file # modelname_RRz_YYYYMMDD_f015.grib2 gribidx = pygrib.index(f"{path}{self.getname().lower()}_{run:02d}z_{date_string}_f{fp:03d}.grib2", - 'shortName', 'typeOfLevel', 'level') + 'shortName', 'typeOfLevel', 'level') # grbs.seek(0) for par in self.getParamter():