Issue with Sounding pane
-
I like the sounding pane a lot but I have discovered, what I see as quite a serious problem. Whenever the model elevation is below the 1000hPa level it is incorrect. It shows the surface temperature and dew point at the 1000hPa level as if this were the surface. eg...
Surely LCL should be model elevation + 125 * (surface temperature - surface dew point) should it not? This is what is shown in my plugin 4 + 125 * (14.8 - 7.4) = 925 (929 difference is due only to precision with which numbers are presented).
However, in the screenshot the 1000hPa level is 223m and LCL is shown as 1120m which is more like 223 + 125 * (15 - 7) = 1223. (here, the loss of precision is greater). The pattern is repeatable, I have looked in many locations at many times, it really does look like whenever the surface pressure is above 1000hPa it is basing LCL on the 1000hPa level rather than on the surface.
If you select a point where the surface pressure is below 1000hPa there is no such problem and the agreement is very good e.g....
Of course, one of the reasons that this disturbs me is that others (like me) will assume that the sounding is correct and my plugin is wrong which, in fact, is not the case. For this reason, I do not feel that I can yet make the plugin available to others which I would like to do.
This looks like a bug to me, in which case it would be really great if it could be fixed please?
Or can someone point out where I am mistaken?