ecmwf / pdbufr

High-level BUFR interface for ecCodes
Apache License 2.0
23 stars 8 forks source link

Add test for new type of synop messages #17

Closed sandorkertesz closed 3 years ago

sandorkertesz commented 3 years ago

A test was added for new type of synop messages. It is marked with xfail because it is failing at the moment reporting 8 times more matching rows than it should.

In these synop messages most of the parameters are all preceded by a coordinate descriptor specifying height of the actual measurement. So "2m" temperature and dewpoint is given as:

"heightOfSensorAboveLocalGroundOrDeckOfMarinePlatform": 1.5, "airTemperature": 300.45, "dewpointTemperature": 295.15000000000003

Similarly 10m wind is given as:

"heightOfSensorAboveLocalGroundOrDeckOfMarinePlatform": 10, "windDirection": 100, "windSpeed": 1.6