Closed afarias90 closed 1 week ago
Dear @afarias90 , please mind the change in how you should use the method. The below should fix your problem.
tc_hazard_hdf5 = TropCyclone.from_hdf5("./synthetic_tropical_cyclone_catalog_on_exp_points.hdf5")
tc_hazard_hdf5.plot_rp_intensity()
Dear @chahank, thank you so much for clarifying, I had indeed missed that change in how the method is used. It works as expected with your change.
Excellent, thanks for giving feedback!
read_hdf5() works correctly, but will be deprecated. from_hdf5() does not read in file correctly it seems
To Reproduce Steps to reproduce the behavior/error:
Code example:
Expected behavior reading in a hazard object using from_hdf5() should read it in such that functions like plot_rp_intensity() work OK.
Screenshots If applicable, add screenshots to help explain your problem.
Climada Version: [Version or branch]