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

Aerosol constructor changes #392

Merged
merged 1 commit into from
May 9, 2024
Merged

Aerosol constructor changes #392

merged 1 commit into from
May 9, 2024

Conversation

trontrytel
Copy link
Member

@trontrytel trontrytel commented May 7, 2024

There are some changes in aerosol size distribution constructors that I needed in order to be able to broadcast in KinematicDriver.

I don't understand why, but it broke the ARG calibration test. @nefrathenrici, @sajjadazimi or @edejong-caltech - could I ask you to take a look? I'm not very familiar with that test. The ARG tests themselves seem fine, so maybe it's just something with the setup?

Aside from that I think that my life in KinematicDriver would be easier if rain_evaporation in 2-moment microphysics was returning a named tuple. So I changed that also.

@trontrytel trontrytel force-pushed the aj/named_tuple_cm2_evap branch 2 times, most recently from 79d6cc9 to 1d34f90 Compare May 7, 2024 22:33
@trontrytel trontrytel changed the title try with named tuple 2M rain evaporation returns a named tuple May 7, 2024
@trontrytel trontrytel self-assigned this May 7, 2024
Copy link

codecov bot commented May 7, 2024

Codecov Report

Attention: Patch coverage is 93.33333% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 94.87%. Comparing base (f4e59c0) to head (b4a8a90).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #392      +/-   ##
==========================================
- Coverage   94.94%   94.87%   -0.08%     
==========================================
  Files          36       36              
  Lines        1386     1386              
==========================================
- Hits         1316     1315       -1     
- Misses         70       71       +1     
Components Coverage Δ
src 98.89% <93.33%> (-0.08%) ⬇️
ext 54.03% <ø> (-0.37%) ⬇️

@trontrytel trontrytel changed the title 2M rain evaporation returns a named tuple Aerosol constructor changes May 8, 2024
src/AerosolModel.jl Outdated Show resolved Hide resolved
Copy link
Member

@nefrathenrici nefrathenrici left a comment

Choose a reason for hiding this comment

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

These are clean code changes, thank you!

test/runtests.jl Outdated Show resolved Hide resolved
@trontrytel trontrytel merged commit 64f64b4 into main May 9, 2024
9 of 12 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.

None yet

3 participants