Skip to content

Commit

Permalink
fix h5py version issue
Browse files Browse the repository at this point in the history
  • Loading branch information
uchchwhash committed Jan 11, 2023
1 parent f49db59 commit 76c2efc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wagl/ancillary.py
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,9 @@ def get_water_vapour(acquisition, water_vapour_dict, scale_factor=0.1, tolerance
record = index.iloc[idx]
dataset_name = record.dataset_name

if isinstance(dataset_name, bytes):
dataset_name = dataset_name.decode('utf-8')

try:
data, md_uuid = get_pixel(datafile, dataset_name, geobox.centre_lonlat)
except ValueError:
Expand Down

0 comments on commit 76c2efc

Please sign in to comment.