clearly, the temperature gradient may change substantially in time, as a result of diurnal or seasonal heating and cooling for instance. this most likely happens during an inversion. for instance, during the day the temperature at ground level may be cold while it's warmer up in the atmosphere. as the day shifts over to night the temperature might drop rapidly while at other places on the land stay warmer or cooler at the same elevation. this happens on the west coast of the united states sometimes due to geography.