Kemal,
If it failed in model.read, it is likely something required is not in the MPAS output. These are all the reads in the mpas_raob() function. Let me know if any of these are missing. hpbl and surface pressure may not be needed. The others certainly are required. I did not make exceptions where if for example, wind was missing, but temp and moisture present. It will just not work unless there is wind, temp, moisture, pressure and height is available.