Skip to content

Commit

Permalink
modify gfs test try 2
Browse files Browse the repository at this point in the history
  • Loading branch information
karlwx committed May 14, 2024
1 parent b28bd01 commit c19d56d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/test_gfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit c19d56d

Please sign in to comment.