diff --git a/tests/test_gfs.py b/tests/test_gfs.py index 0fa7a5f3..c0f694f1 100644 --- a/tests/test_gfs.py +++ b/tests/test_gfs.py @@ -44,9 +44,13 @@ def test_graphcast(): save_dir=save_dir, overwrite=True, ) + + assert H.grib, "GFS grib2 file not found" + assert H.idx, "GFS index file not found" - f = H.download("HGT:500 mb") + filter = "HGT:500 mb" + f = H.download(filter) assert H.get_localFilePath(filter).exists(), "File doesn't exist!" f.unlink() - H.xarray(filter) + H.xarray(filter) \ No newline at end of file