You might have already figured out the solution, but I’m just leaving these comments in case anyone needs it in the future. The problem you are seeing is because of the incorrect file path to extract data from the hdf file. Once you fix the file path, it should work. Hope this helps.