Converting MM5 Data to netCDF
I use the mm5tonetcdf package written by Graziano Giuliani. On ftp://ftp.ucar.edu/mesouser/user-contrib/ you will find the file 'mm5tonetcdf_1.2.tar.gz'. It contains both the archiver program and the examiner program.




Scripts
Below are two scripts that should work in general on already opened MM5 output files. Both scripts expect the file pointer 'fid'.
load_MM5header.m - loads header data
pzref3.m - calculates reference state pressures and heights (need to run load_MM5header, first)