You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that max_ts_level should not be set to a number larger than the number of half levels. If the user accidentally set this namelist entry to a larger value, then the wrf_timeseries.F tries to use w_2 and other vars at higher levels than possible. The model would not crash but I do not know what would happen to the time series results. I found this compiling WRF in debugging mode since I set up max_ts_level to the number of full levels. Unfortunately I removed the log file with the error.
There should be a check maybe in check_a_mundo to ensure that max_ts_level is not set up to a number higher than the number of half levels.
The text was updated successfully, but these errors were encountered:
TYPE: bug fix
KEYWORDS: max_ts_level
SOURCE: Pedro Jimenez Munoz (RAL/MMM), internal
DESCRIPTION OF CHANGES:
The value of `max_ts_level` should be set less than or equal to the number of half levels. If
`max_ts_level` is accidentally set to a larger value, the wrf_timeseries.F would try to access
the vertical velocity (`w_2`) and other variables that are defined on full levels with an index
outside of the variables' extent. A check is added to check_a_mundo to ensure that if
`max_ts_level` is set up to a number larger than the number of half layers, then it is reset to
the number of half layers.
ISSUE:
Fixes#976 "Need check_a_mundo test: max_ts_level must be <= number of znu half layers"
LIST OF MODIFIED FILES:
M share/module_check_a_mundo.F
M run/README.tslist
TESTS CONDUCTED:
1. A single test is run to ensure the check works as expected. Below is the output:
```
Quilting with 1 groups of 0 I/O tasks.
Ntasks in X 6 , ntasks in Y 6
max_ts_level must be <= number of znu half layers
max_ts_level is reset to the number of znu half layers
```
From Pedro Jimenez
I found that max_ts_level should not be set to a number larger than the number of half levels. If the user accidentally set this namelist entry to a larger value, then the wrf_timeseries.F tries to use w_2 and other vars at higher levels than possible. The model would not crash but I do not know what would happen to the time series results. I found this compiling WRF in debugging mode since I set up max_ts_level to the number of full levels. Unfortunately I removed the log file with the error.
There should be a check maybe in check_a_mundo to ensure that max_ts_level is not set up to a number higher than the number of half levels.
The text was updated successfully, but these errors were encountered: