functions and code to summarize NCEP data and calc Tes