Skip to content

wmb_load_mat does not work on one specific file, but it loads correctly in MATLAB. #3

@wtcipher

Description

@wtcipher

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

https://www.dropbox.com/scl/fi/qbwneg6nb00mw57r2kdvd/AIRS_MLS_MATCHUP_2007_11_12_joined.mat?rlkey=4ayos7geazp6gy1k19xh32l8x&dl=0

I just tried to load the file from Octave, and it also loads the variables correctly, but giving me a warning.

Many thanks!

~ Tao

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions