Merged
Conversation
jjordene
approved these changes
Feb 18, 2026
jjordene
reviewed
Feb 19, 2026
jjordene
reviewed
Feb 19, 2026
jjordene
reviewed
Feb 19, 2026
jjordene
reviewed
Feb 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SNAP uses a asynchronous task to read the next meteorology while working through the calculation loop.
Asynchronous handling needs
ASYNC_IO.ONset in snap.input, though it only makes sense if more than 2 threads exist (OMP_NUM_THREADS).async_io needs 30%-50% more memory for the additional meteorology buffers.
Performance benefits are up to a factor 2 if loop and io take the same time, but usually around 30%.
async_io with netcdf < 4.9.3 gives known warnings about
can't locate attribute: '_QuantizeBitGroomNumberOfSignificantDigits'. This is a known bug in older versions of netcdf and is harmless. Check withnc_config --version.ASYNC_IO.ONreduces the runtime of a standard 48h run with 3 isotopes on a server-CPU run withtime OMP_PLACES=cores OMP_NUM_THREADS=4 ~/Programme/Models/snap/src/naccident/bsnap_naccident snap.inputfrom
real 2m28.153storeal 1m44.771s