-
Notifications
You must be signed in to change notification settings - Fork 145
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
bug: dart doesn't catch 0 size model advance windows (hangs for subroutine callable models) #535
Labels
Bug
Something isn't working
Comments
hkershaw-brown
changed the title
bug: dart doesn't catch 0 size model advance windows
bug: dart doesn't catch 0 size model advance windows (hangs for subroutine callable models)
Sep 5, 2023
15 tasks
DART/assimilation_code/modules/assimilation/obs_model_mod.f90 Lines 182 to 189 in c8ddfac
|
the hang is in the do while loop DART/assimilation_code/modules/assimilation/assim_model_mod.f90 Lines 106 to 108 in 75cf8dc
|
hkershaw-brown
added a commit
that referenced
this issue
Aug 9, 2024
shortest_time_between_assimilations is get_model_time_step fixes #535
15 tasks
hkershaw-brown
added a commit
that referenced
this issue
Aug 19, 2024
shortest_time_between_assimilations is get_model_time_step fixes #535
hkershaw-brown
added a commit
that referenced
this issue
Aug 26, 2024
shortest_time_between_assimilations is get_model_time_step fixes #535
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛
Describe the bug
for larger models with real data times (not 0,0) if you set the window size to 0 you'll get a window that starts at T+1 second and ends at T, which can't contain any of the obs.
Error Message
L96 loops forever. WRF prints:
PE 0:
PE 0: move_ahead Next available observation at: day= 154166 sec=0
PE 0: move_ahead Next assimilation window starts at: day= 154166 sec=1
PE 0: move_ahead Current model data time is: day= 154166 sec=0
PE 0:
ERROR FROM:
source : obs_model_mod.f90
routine: move_ahead
message: Inconsistent model state/observation times, cannot continue
message: ... If this is the start of the obs_seq file,
message: ... can use filter namelist to set first obs or initial data time.
Which model(s) are you working with?
any
Version of DART
the current main branch
Have you modified the DART code?
not yet, but i think the fix is to add a test in assim_model_mod.f90 : get_closest_state_time_to() and error out if time_step is <= 0.
Build information
any machine, any compiler.
The text was updated successfully, but these errors were encountered: