Error in running FourCastNet GitHub code, pre-processing stage

Hi! I am going through the FourCastNet code inside GitHub (GitHub - NVlabs/FourCastNet: Initial public release of code, data, and model weights for FourCastNet) and at the pre-processing stage I have got an error which is: KeyError: “Unable to open object (object ‘fields’ doesn’t exist)”
I have hdf5 parallel enabled and using the exact dataset which means the dates and the format inside the example code inside the rep, and still, get this error.
How can I solve this issue? thank you very much.

Hi @afshin.shafei

Unfortunately we can’t provide direct support for the GitHub code since the team is not familiar with the pre-processing implemented here. I would say your best bet would be to open an issue on the Github repo page or reach out to the lead author.

From what you described seems your H5 file is missing some data… perhaps use h5ls to see if the correct fields are in fact inside the file? (Just a guess)