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

Add Var.replace #132

Merged
merged 1 commit into from
Oct 18, 2024
Merged

Add Var.replace #132

merged 1 commit into from
Oct 18, 2024

Conversation

ph-kev
Copy link
Member

@ph-kev ph-kev commented Oct 18, 2024

closes #123; This PR adds Var.replace which can be used to replace all missing and NaN values in data with another value. This use case for this function is dealing with land/ocean simulations where values in the ocean/land are missing and NaN values.

Copy link

codecov bot commented Oct 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.20%. Comparing base (a189286) to head (259ccc4).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #132   +/-   ##
=======================================
  Coverage   98.19%   98.20%           
=======================================
  Files          11       11           
  Lines        1110     1116    +6     
=======================================
+ Hits         1090     1096    +6     
  Misses         20       20           

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

@ph-kev ph-kev requested a review from Sbozzolo October 18, 2024 22:47
@ph-kev ph-kev merged commit 961cdac into CliMA:main Oct 18, 2024
9 checks passed
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.

Add function/functionality to handle NaNs
2 participants