Converting MM5 Data to netCDF
I use the mm5tonetcdf package written by Graziano Giuliani.
you will find the
file 'mm5tonetcdf_1.2.tar.gz'. It contains both the archiver program
and the examiner program.
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)