Updates to ERF Driver for Multi-Level AMR, Radiation, and Misc.#201
Updates to ERF Driver for Multi-Level AMR, Radiation, and Misc.#201cenlinhe merged 39 commits intoNCAR:developfrom
Conversation
Update RELEASE_NOTES for v5.1.0 release
|
@cenlinhe Some updates for multi-level AMR IO |
Updates to Noah-MP in/out vars
add pressure to c++ IO vars
Wind stresses updates
|
@cenlinhe This PR is ready for review and merge whenever you are ready. |
tall-towers-with-pressure-forcing.mp4 |
|
Also adding a chat completion template to auto generate Fortran-C++ API for new variables using Gen AI models. |
|
@akashdhruv I saw you included a few additional commits last week. Did you finish all the code updates? If so, I will start to review this next week and likely merge it in the next 1-2 weeks to the main branch. Because we have a few other Noah-MP updates coming up, I would like to get your updates in first before I make additional Noah-MP updates. |
|
@cenlinhe Yes I am done, just updating documentation. Please go ahead and merge this. |
cenlinhe
left a comment
There was a problem hiding this comment.
this PR updates the NoahMP-ERF interface driver, which looks good. The code developer provided the successful test run results in this PR, which looks reasonable.
|
@tslin2 Could you please take a look and approve this PR? |

Summary
This PR introduces key enhancements to the ERF–Noah-MP coupled framework, including parallel I/O support, multi-level AMR capability, and coupling with the RRTMGP radiation model. The updates are mainly focussed on the driver side.
Key Updates
Parallel NetCDF Output
Implemented scalable I/O routines that allow multiple MPI processes to write NetCDF output concurrently, improving efficiency for large-scale simulations (
drivers/erf/NoahmpWriteLandMod.F90).Multi-Level / Multi-Domain AMR Support
Added support for multi-level adaptive mesh refinement (AMR) and nested domain configurations, enabling finer spatial resolution and more flexible simulation setups (
drivers/erf/NoahmpIO_fi.F90).RRTMGP–Noah-MP Coupling Interface
Introduced an interface to couple the RRTMGP radiative transfer model with Noah-MP, allowing interactive exchange of surface energy fluxes and radiative variables (
drivers/erf/NoahmpIO.cpp).Exposed Wind Stress to ERF
Updated (
drivers/erf/EnergyVarOutTransferMod.F90) to expose wind stresses to ERF client.Additional Notes