Skip to content

Conversation

@odiazib
Copy link
Contributor

@odiazib odiazib commented Sep 23, 2024

No description provided.

Real invariants_k[nfs];
View1D vmr_k = Kokkos::subview(vmr, k, Kokkos::ALL());
View1D cnst_offline_k = Kokkos::subview(cnst_offline, k, Kokkos::ALL());
Real h2ovmr_k = conversions::vmr_from_mmr(qv_k, mwh2o);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mingxuanwupnnl @singhbalwinder . This line of code could change the values of this routine because of the mwh2o values in Haero versus E3SM.

Copy link
Contributor

Choose a reason for hiding this comment

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

Are the values similar enough?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I found the issue. I did not realize that setinv (column version) uses qv (mass mixing ratio of H2O) instead of vmr_h2o. The test is now passing with the previous error threshold.

@odiazib odiazib force-pushed the mingxuanwupnnl/eamxx_mam_microphys_for_mamxx branch from 1b865e0 to c1e4761 Compare September 30, 2024 17:44
@codecov
Copy link

codecov bot commented Sep 30, 2024

Codecov Report

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

Project coverage is 96.16%. Comparing base (636ab95) to head (d81c5a0).
Report is 20 commits behind head on main.

Files with missing lines Patch % Lines
src/mam4xx/mo_setext.hpp 50.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #347   +/-   ##
=======================================
  Coverage   96.16%   96.16%           
=======================================
  Files          43       43           
  Lines        9486     9490    +4     
=======================================
+ Hits         9122     9126    +4     
  Misses        364      364           
Flag Coverage Δ
96.16% <92.85%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@odiazib odiazib merged commit 89fd234 into main Oct 1, 2024
8 checks passed
@odiazib odiazib deleted the mingxuanwupnnl/eamxx_mam_microphys_for_mamxx branch October 1, 2024 00:50
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.

4 participants