I've seem sometimes the atmosphere unit for pressure be defined so that $1\ \mathrm{atm}$ would be the mean atmospheric pressure at sea level.
I've seem on the other hand the following definition:
One standard atmosphere is the pressure produced by a column of mercury exactly $76\ \mathrm{cm}$ high, at a temperature of $0^\circ\mathrm{C}$, and at a point where $g = 980.665 \ \mathrm{cm}\ \mathrm{s^{-2}}$.
Perhaps the need to specify the temperature and gravity acceleration are obvious to people more acquainted with experimental physics, but I know nothing of this stuff and so for me I don't get why people would define it like that.
This is IMHO one experimental definition, because it is saying how can one go there in practice and measure $1 \ \mathrm{atm}$. But temperature and gravity acceleration doesn't seem at first to come into play here.
Why does one need to specify the temperature and gravity acceleration when making this definition?