Temperature anomaly is the difference, positive or negative, of a temperature from a base or reference value, normally chosen as an average of temperatures over a certain reference or base period. In atmospheric sciences, the average temperature is commonly calculated over a period of at least 30 years over a homogeneous geographic region, or globally over the entire planet.
Temperatures are obtained from surface and offshore weather stations or inferred from meteorological satellite data. Temperature anomalies can be calculated based on datasets of near-surface and upper-air atmospheric temperatures or sea surface temperatures.