Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

gavinevans
Copy link
Contributor

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:

  • Ran tests and they passed OK
  • Added new tests for the new feature(s)

… longitude columns have the same, consistent value for a given site. This will prevent issues when these columns are used when creating a cube and mismatching values will prevent cubes being merged successfully.
@gavinevans gavinevans self-assigned this Oct 5, 2023
@codecov
Copy link

codecov bot commented Oct 5, 2023

Codecov Report

All modified lines are covered by tests ✅

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

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1951   +/-   ##
=======================================
  Coverage   98.38%   98.38%           
=======================================
  Files         123      123           
  Lines       11792    11800    +8     
=======================================
+ Hits        11602    11610    +8     
  Misses        190      190           
Files Coverage Δ
improver/calibration/dataframe_utilities.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@MoseleyS MoseleyS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally, we should check whether the changes are significant and issue a warning or exception as appropriate. We don't have time for this now though.

@MoseleyS MoseleyS merged commit ac901c4 into metoppv:master Oct 5, 2023
10 checks passed
MoseleyS pushed a commit to MoseleyS/improver that referenced this pull request Aug 22, 2024
… longitude columns have the same, consistent value for a given site. This will prevent issues when these columns are used when creating a cube and mismatching values will prevent cubes being merged successfully. (metoppv#1951)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants