CliMA / SCAMPy

A single column model of atmospheric boundary layer turbulence and clouds
Apache License 2.0
5 stars 2 forks source link

Rename Tsurface / Tg to distinguish between temperature and potential temperature #20

Open charleskawczynski opened 5 years ago

charleskawczynski commented 5 years ago

I see both Tsurface and Tg defined.

What's the difference? Is this a bug?

It seems that Tg is the reference temperature at the ground, but when computing Tsurface (for example, here) the reference pressure is used.

It really seems that this is a redundant definition, but I'd like to hear a confirmation @trontrytel , @yairchn @ilopezgp .

A similar argument could be made for qsurface and qtg.

trontrytel commented 5 years ago

I checked in the Bomex paper. They define both the surface temperature (our Tg=300.4K) and surface potential temperature (our Tsurf = 299.1K). I checked that using the assumed surface pressure of 1015hPa those two are consistent. I agree that one of them is redundant but it's not a bug.