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

Fix single-precision relative and absolute errors #421

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

sriharshakandala
Copy link
Member

@sriharshakandala sriharshakandala commented Jan 8, 2024

Purpose

Tune tolerances in gas optics and RTE solver to reduce absolute and relative errors in single-precision calculations.


  • I have read and checked the items on the review checklist.

@sriharshakandala sriharshakandala linked an issue Jan 8, 2024 that may be closed by this pull request
@sriharshakandala sriharshakandala changed the title Print single-precision relative and absolute errors Fix single-precision relative and absolute errors Jan 8, 2024
@szy21
Copy link
Member

szy21 commented Jan 8, 2024

Could you leave a comment in the code where it is different from the fortran RRTMGP? Just to track the difference.

src/rte/longwave2stream.jl Outdated Show resolved Hide resolved
@sriharshakandala sriharshakandala marked this pull request as ready for review January 10, 2024 01:06
Improve result printout for tests
@sriharshakandala sriharshakandala merged commit 9ef0b6c into main Jan 10, 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 single precision support for RRTMGP
3 participants