Dear William,
SAM assumes that the temperature values in the weather file are instantaneous values at the end of each hour, not average values as you describe above. That convention is described briefly in SAM's Help system (
SAM Help -- Weather Data Overview
, bottom of page), and also in the documentation that accompanies the standard NREL TMY2 and TMY3 data sets.
(That's different from the solar radiation values, which are totals over the previous hour. SAM assumes that the solar position at the midpoint of the hour applies to a given hour for the sun angle calculations.)
Best regards,
Paul.