This function calculates the altitude (AGL) of the cloud base and the freezing level.

 

Inputs:

Surface air temperature: 10°C

Dew Point: 5°C

 

Outputs:

Cloud Base: 2,000 Ft above ground

Freezing Level: 4,667 Ft above ground