Skip to content

Commit

Permalink
test: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cpaniaguam committed Aug 18, 2023
1 parent 313e78d commit 69cc85a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test-h5.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ getcorners(m) = [m[1, 1], m[end, end]]
latcorners = getcorners(latlondata["latitude"])
loncorners = getcorners(latlondata["longitude"])

iftversion = IFTPipeline.getiftversion()
_iftversion = IFTPipeline.iftversion[1]

ptpath = joinpath(resdir, "passtimes.jls")
passtimes = deserialize(ptpath)
Expand Down Expand Up @@ -44,7 +44,7 @@ h5path = joinpath(resdir, "hdf5-files", "20220914T1244.aqua.labeled_image.250m.h
@test typeof(fid) == HDF5.File

# top level attributes
@test attrs(fid)["iftversion"] == iftversion
@test attrs(fid)["iftversion"] == _iftversion
@test attrs(fid)["fname_reflectance"] == reflectance_refs[1]
@test attrs(fid)["fname_truecolor"] == truecolor_refs[1]
@test attrs(fid)["crs"] == latlondata["crs"]
Expand Down

0 comments on commit 69cc85a

Please sign in to comment.