mivek/MetarParser

Parse sea level pressure in remarks

Closed this issue · 0 comments

mivek commented

In remarks sea level pressure are encoded SLPppp where SLP is the remark identifier and ppp is the pressure

If ppp starts with 1, add 10 before ppp and put a comma before last number
If ppp starts with 9, add 9 before ppp and put a comma before last number.
Eg:

  • SLP134 => 1013,4
  • SLP998 => 999,8

SLPNO means sea-level pressure is not available