You’re conflating local variability and latent energy with the system level concept of GMST. GMST isn’t trying to capture every nuance of weather, latent heat, or micro scale processes; it’s an integrated measure of the planet’s total thermal energy response to radiative forcing. Just like measuring the average kinetic energy of gas molecules tells you the temperature of a container without tracking each particle, GMST tells you about the energy content of the climate system without needing to resolve every wind gust or water droplet. Latent heat, pressure, winds, and humidity are already part of the system’s energy budget; GMST reflects their aggregate effect on the planet’s thermal state.
The steam locomotive analogy is misleading. The fact that local extremes exist doesn’t make the average meaningless. It’s a summary of the system’s energy, not a description of every internal process. The equation of state you reference is already incorporated in climate models and energy accounting. High school chemistry demonstrations of thermal expansion or pressure changes illustrate local physics, but they don’t invalidate planetary scale energy balances or the meaningfulness of GMST. Denying that misses the distinction between system level averages and local instantaneous states, which is precisely why GMST is scientifically valid.