Index: /issm/trunk-jpl/src/c/classes/Elements/Element.cpp
===================================================================
--- /issm/trunk-jpl/src/c/classes/Elements/Element.cpp	(revision 19370)
+++ /issm/trunk-jpl/src/c/classes/Elements/Element.cpp	(revision 19371)
@@ -1723,5 +1723,5 @@
 			gauss->GaussVertex(iv);
 			input->GetInputValue(&monthlytemperatures[iv*12+month],gauss,time_yr+month/12.*yts);
-			yearlytemperatures[iv]=yearlytemperatures[iv]+monthlytemperatures[iv*12+month]*mavg; // Has to be in Kelvin
+			// yearlytemperatures[iv]=yearlytemperatures[iv]+monthlytemperatures[iv*12+month]*mavg; // Has to be in Kelvin
 			monthlytemperatures[iv*12+month]=monthlytemperatures[iv*12+month]-273.15; // conversion from Kelvin to celcius for PDD module
 			input2->GetInputValue(&monthlyprec[iv*12+month],gauss,time_yr+month/12.*yts);
@@ -1754,4 +1754,8 @@
 					desfac, s0t[iv], s0p[iv],rlaps,rlapslgm,TdiffTime,sealevTime,
 					rho_water,rho_ice);
+	/*Get yearlytemperatures */
+		for(int month=0;month<12;month++) {
+		  yearlytemperatures[iv]=yearlytemperatures[iv]+(monthlytemperatures[iv*12+month]+273.15)*mavg; // Has to be in Kelvin
+		}
 	}
 
