Menu

#2636 Basic Weather: QNH discontinuity

2020.3
New
nobody
Low
2023-05-09
2021-08-18
No

I remembered an old bug I forgot to made a ticket for.

As QNH changes when flying between two METARs in Basic Weather, at least atmosphere/P-psf and aero/qbar-psf of JSBSim change too fast. The FG properties /environment/pressure-* are also affected. This causes problems e.g. in altitude hold or autothrottle which suddenly find an unrealistically big error and attempt to correct it.

Reproduction:

  1. Run $ fgfs --aircraft=UFO with basic weather and live data in airport-populated area and fly a straight line. Watch /environment/pressure-sea-level-inhg change abruptly.
  2. Switch weather scenarios. The sea level pressure is interpolated correctly.

This means that whichever is interpolating between weather scenarios is no longer working properly when there is a live METAR change.

Discussion

  • Anonymous

    Anonymous - 2021-08-18
     
  • xDraconian

    xDraconian - 2023-05-09
    • labels: --> METAR, Weather
     

Log in to post a comment.

MongoDB Logo MongoDB