hydrogo / rainnet

RainNet: a convolutional neural network for radar-based precipitation nowcasting
MIT License
117 stars 61 forks source link

Could you please tell me how to decompress the RYDL.hdf5 file to get the picture and put it into the model for prediction? #14

Open DBIGSHUAI opened 1 year ago

hydrogo commented 1 year ago

Hi @DBIGSHUAI, you could access hdf5 data as follows:

import h5py
data = h5py.File("RYDL.hdf5", mode="r")

After that, you could use the verification example provided in the rainymotion library as a reference: https://rainymotion.readthedocs.io/en/latest/notebooks/nowcasting.html.