vicb / windy-plugin-sounding

Sounding plugin for Windy.com.
https://www.windy.com/
MIT License
19 stars 5 forks source link

Cloud base altitude is wrong #6

Open vicb opened 3 years ago

vicb commented 3 years ago

image See https://community.windy.com/topic/7960/sounding-plugin-for-paraglider-pilots/29?_=1601564589800

LooseEdward commented 3 years ago

I did find another instance, I think, @vicb. I have attached a screenshot (apologies if it is a large file) of the webpage that hopefully shows all the details you might need to replicate it on your side.

Location: S26 25'31'', E27 32'29'' Time: Friday 2 Oct 13h00 forecast (from GFS 2 Oct, 06:46)

I notice that the cloud base altitude is the same in this example (3100m) as in the one I sent you previously. Coincidence? Or perhaps some sort of browser cache problem rather than anything to do with the plugin?

Screenshot 2020-10-02 at 12 16 48
LooseEdward commented 3 years ago

When I hover my mouse to see altitude, that figure seems correct. I couldn't manage to screenshot my mouse into this picture but the mouse pointer was just a bit above the cloud base line here (and showing 2900m, correctly I think). [When I put the mousepointer on the cloudbase line it seems to suggest the actual cloudbase label should be 2700m instead of 3100m.]

Screenshot 2020-10-02 at 12 28 31
vicb commented 3 years ago

Hey @LooseEdward thanks for adding more details.

I have identified the bug.

On your example "3100m" is the correct value but axis labels are misplaced. The root cause is that the relation between altitude and pressure is non linear.

I'll think about the best way to fix that. Give me a few days.

Thanks again for your detailed bug report.