3 ms·
Thanks, its actually good to know that I may be wrong in my premise and that I may in fact be able to properly store the NaNs. For context, I'm trying to conver
by Eddy_Viscosity2 5y ago
Thanks, its actually good to know that I may be wrong in my premise and that I may in fact be able to properly store the NaNs. For context, I'm trying to convert Matlab data to H5 files.
- jjgreen 5y agoSounds like an issue with the Matlab interface to HDF5 then, good luck!
- porcoda 5y agoDoesn’t MATLAB have a built in h5write function to write out HDF5? There shouldn’t be much work at all to convert MATLAB data to H5. Last time I used it I had no issues with the resulting H5 files.
- Eddy_Viscosity2 5y agoThere is a fair bit of built-in H5 functionality in matlab, but the devil is in the details and I want to be sure I am storing the data without any loss of representation including NaN, inf, metadata and so on.
- porcoda 5y agoSure. For what it’s worth, MATLAB has used HDF for its own MAT file format since R2006b. See: https://www.mathworks.com/help/matlab/import_export/mat-file-versions.html https://www.mathworks.com/help/matlab/import_export/mat-file... I’m assuming if the MAT file contains what you expect and is a v7.3 file, it’s all accessible in HDF5 since it’s already an HDF5 file.