-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hello, I encountered your IDL routine "wmb_load_mat". Thank you for providing such a helpful upgrade from load_mat.pro. It handles compressed files easily. However, while bulk reading a serious of files, I encountered a problem in only one file, but this file can be loaded to MATLAB without any issues.
The error I got is:
% Unable to uncompress: Data or header is corrupted.
% Execution halted at: WMB_LOAD_MAT 1306 /home/taowang/IDLWorkspace/code/jpl/prf_for_qing/wmb_load_mat.pro
% WMB_LOAD_MAT 1212 /home/taowang/IDLWorkspace/code/jpl/prf_for_qing/wmb_load_mat.pro
% WMB_LOAD_MAT 1212 /home/taowang/IDLWorkspace/code/jpl/prf_for_qing/wmb_load_mat.pro
I think it is also related to compression. Ironically, all my MAT files are written by the same MATLAB program, but it looks like some are compressed, some are not. Can I send you the MAT file for you to diagnose, please?
You can find the file from this Dropbox link
I just tried to load the file from Octave, and it also loads the variables correctly, but giving me a warning.
Many thanks!
~ Tao