Skip to content

Commit

Permalink
correct hdf to h5
Browse files Browse the repository at this point in the history
  • Loading branch information
laszewsk committed Oct 15, 2023
1 parent fa6b685 commit 3635048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/cloudmask/target/summit-no-sciml/slstr_cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def cloud_inference(args)-> None:
mask_patches = tf.reshape(mask_patches, (n, ny, nx, PATCH_SIZE - CROP_SIZE, PATCH_SIZE - CROP_SIZE, 1))
mask = reconstruct_from_patches(args, mask_patches, nx, ny, patch_size=PATCH_SIZE - CROP_SIZE)
output_dir = os.path.expanduser(args['output_dir'])
mask_name = f"{output_dir}/hdf/{file_name.name}.h5"
mask_name = f"{output_dir}/h5/{file_name.name}.h5"
# print('mask_name: ', mask_name)

with h5py.File(mask_name, 'w') as handle:
Expand Down

0 comments on commit 3635048

Please sign in to comment.