Skip to content

Diffuse types - #18

Merged
rafaqz merged 4 commits into
mainfrom
diffuse_types
May 9, 2026
Merged

Diffuse types#18
rafaqz merged 4 commits into
mainfrom
diffuse_types

Conversation

@rafaqz

@rafaqz rafaqz commented Mar 30, 2026

Copy link
Copy Markdown
Member

These are very important choses for model performance - scattered_uv totally dominates run time costs.

This PR makes it much more explicit which Diffuse UV model we are using.

It will break downstream packages like Microclimate.jl

@rafaqz
rafaqz requested a review from mrke March 30, 2026 04:24
@codecov

codecov Bot commented Mar 30, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 78.26087% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.34%. Comparing base (b63c9d0) to head (6319b9f).

Files with missing lines Patch % Lines
src/solar_radiation.jl 76.19% 10 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #18      +/-   ##
==========================================
+ Coverage   93.13%   93.34%   +0.20%     
==========================================
  Files           5        5              
  Lines         685      691       +6     
==========================================
+ Hits          638      645       +7     
+ Misses         47       46       -1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread src/solar_radiation.jl
diffuse_irradiance(diffuse_model, n, λτR, buffers, cz, intcz, Sλ_n, ar², m_Zₐ, albedo, z, FD, FDQ, s̄)

Calculate diffuse (scattered) spectral irradiance for a single wavelength.
Dispatches on `diffuse_model` to select the scattering algorithm.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

much better

@rafaqz
rafaqz merged commit 602b9d8 into main May 9, 2026
2 of 3 checks passed
@rafaqz
rafaqz deleted the diffuse_types branch May 9, 2026 04:58
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.

2 participants