mat files contain data saved in Matlab's proprietary format. How to read these files in Python depends on the version of Matlab used to save them, up to 7.1 or greater. Here are exemples of how to read two variables lat and lon from a mat file called "test.mat".