metoppv / improver

IMPROVER is a library of algorithms for meteorological post-processing.
http://improver.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
103 stars 85 forks source link

Enforce consistent altitude, latitude and longitude for site EMOS #1951

Closed gavinevans closed 1 year ago

gavinevans commented 1 year ago

Addresses https://github.com/metoppv/mo-blue-team/issues/570

Add function and unit tests to ensure that the altitude, latitude and longitude columns have the same, consistent value for a given site. This will ensure that site EMOS is robust to updates to the altitude, latitude and longitude that may occur if corrections are made to the position of the sites.

Testing:

codecov[bot] commented 1 year ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (64b8eab) 98.38% compared to head (42aa6ce) 98.38%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1951 +/- ## ======================================= Coverage 98.38% 98.38% ======================================= Files 123 123 Lines 11792 11800 +8 ======================================= + Hits 11602 11610 +8 Misses 190 190 ``` | [Files](https://app.codecov.io/gh/metoppv/improver/pull/1951?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=metoppv) | Coverage Δ | | |---|---|---| | [improver/calibration/dataframe\_utilities.py](https://app.codecov.io/gh/metoppv/improver/pull/1951?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=metoppv#diff-aW1wcm92ZXIvY2FsaWJyYXRpb24vZGF0YWZyYW1lX3V0aWxpdGllcy5weQ==) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.