Open
Conversation
…d and receive buffers cannot overlap! MPICH was broken, OPENMPI worked
…d to get_mpi_info
Author
|
Due to the way that github works, this PR also contains other small changes, sorry about that. Just pick srv2nc if you do not care for those ..... |
Author
|
The tool now works also for LSG output and writes netcdf files with correct horizontal and vertical grids. |
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.
The new tool
scripts/srv2ncis a complete alternative to the afterburner, based on CDO.It converts the full raw PlaSIM output files to (zipped) netcdf4. Already by doing so space requirement is halved. No information is lost and the original raw files could be erased after conversion. The suggestion is to use this directly in the run script to convert output on the fly. CDO can then be used for later postprocessing.
Additional features:
From all tests, results are identical to afterburner output.
The tool works both with the main PlaSIM output (in that case it fixes the vertical coordinate axis and uses afterburner name conventions) and with the ML ocean and ice model output (in those cases it uses variable names and units as in the PlaSIM source code). An adaptation to convert also LSG files is being developed.