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

Bug fixes to vector interpolation with StructuredColumns and spherical vector interpolation #222

Merged
merged 2 commits into from
Sep 16, 2024

Conversation

MarekWlasak
Copy link
Contributor

This is a set of minor bug-fixes

The most notable (and contentious) is that for the vector interpolation it is currently assuming that the levels have been given to StructuredColumns at construction. For most functionspaces this is not the case, so I have added a small change that will allow the changing of the sign in the 3D case, when levels is not set in the functionspace but instead in the field.

I have added a number of additional tests to test_interpolation_spherical_vector.cc including the classic Gauss state and cubic interpolation.

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 98.87640% with 1 line in your changes missing coverage. Please review.

Project coverage is 79.99%. Comparing base (afd3b5f) to head (f8e805e).
Report is 11 commits behind head on develop.

Files with missing lines Patch % Lines
...rc/atlas/functionspace/detail/StructuredColumns.cc 80.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #222      +/-   ##
===========================================
+ Coverage    79.95%   79.99%   +0.03%     
===========================================
  Files          792      792              
  Lines        62309    62363      +54     
===========================================
+ Hits         49822    49888      +66     
+ Misses       12487    12475      -12     

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

@MarekWlasak
Copy link
Contributor Author

@wdeconinck - looks like a private-downstream-ci-hpc failed. Do I need to increase the tolerance on any of the new tests?

@wdeconinck
Copy link
Member

@wdeconinck - looks like a private-downstream-ci-hpc failed. Do I need to increase the tolerance on any of the new tests?

Thanks @MarekWlasak it looks like it's not related to Atlas but one specific cmake configuration failing, so nothing to do on your part.

@dtip or @figi44 could you have a look why this occurs?

@wdeconinck wdeconinck merged commit b3e4219 into ecmwf:develop Sep 16, 2024
163 of 164 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants