Repository navigation
Conversation
Obs are read and the obs-nudging driver is called only while XTIME <= fdda_end, so with the default fdda_end = 0 nudging acts on the first time step only. The check prints a WARNING and changes nothing.
Collaborator
|
The (delayed) regression test results: |
dudhia
previously approved these changes
Dec 4, 2026
dudhia
left a comment
Collaborator
There was a problem hiding this comment.
adding warning if user forgets to set fdda_end
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.
TYPE: bug fix
KEYWORDS: obs nudging, fdda_end, check_a_mundo, warning, namelist
SOURCE: Mark I. Richardson (Aeolis Research)
DESCRIPTION OF CHANGES:
Problem:
With obs_nudge_opt = 1 and fdda_end left at its Registry default of 0, the obs reader (share/wrf_fddaobs_in.F) and the obs-nudging driver call (dyn_em/module_first_rk_step_part2.F) run only while XTIME <= fdda_end, so observation nudging acts at the first time step and then stops. No message is printed; check_a_mundo treats only the obs_nudge_opt = 0 case. Details in #2455.
Solution:
In check_nml_consistency, next to the existing obs_nudge_opt = 0 rule, print a WARNING for a domain with obs_nudge_opt = 1 and fdda_end <= 0, naming the value and the unit (minutes from the simulation start). The run goes on unchanged: no namelist value is altered.
ISSUE:
Fixes #2455
LIST OF MODIFIED FILES:
M share/module_check_a_mundo.F
TESTS CONDUCTED:
RELEASE NOTE: A WARNING is printed when obs_nudge_opt = 1 and fdda_end is left at 0, since obs nudging then stops after the first time step.