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.set_dim_units! #136

Merged
merged 1 commit into from
Oct 21, 2024
Merged

Add Var.set_dim_units! #136

merged 1 commit into from
Oct 21, 2024

Conversation

ph-kev
Copy link
Member

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

closes #134 - This PR adds set_dim_units! which is used to set the units of a dimension. This is useful if the units of the dimensions of two different OutputVars are different. For example, in one OutputVar, the units of lon are degrees_east and in the other OutputVar, the units of lon are degrees.

Copy link

codecov bot commented Oct 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.22%. Comparing base (b967146) to head (78343f3).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #136   +/-   ##
=======================================
  Coverage   98.21%   98.22%           
=======================================
  Files          11       11           
  Lines        1118     1124    +6     
=======================================
+ Hits         1098     1104    +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 21, 2024 15:56
@ph-kev ph-kev merged commit 34dc4e8 into CliMA:main Oct 21, 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 Var.set_dim_units
2 participants