initial commit from http://www2.mmm.ucar.edu/people/bryan/cm1