-
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
THM WRF v3 vs v4 #385
Comments
Is a namelist option the cleanest way to deal with this since we have mostly wrf v3 users and some v4 users? default v3 |
Users have to define their state variables in the namelist &model_nml like this
Wouldn't it be most intuitive to use the 'THM' string from there to define the name of the netCDF output variable? There will be a problem if there are two |
I think so. But we already released WRF v4.4.1, so having v3 as default may not last long, just so you know. |
Agree. In fact, theta_m is one of the prognostic variables in MPAS, which is a potential temperature "modified" by moisture (theta_m = theta*(1+1.61*Qv)). |
Revisiting this subject, I have run into an odd issue with T vs. THM in WRF v4.5 when using DART. I am using the master version from a couple of months ago with the changes for THM listed above. However, I get a few NaN points in the top model layer in the updated wrfinput files for all members during the second assimilation cycle when using THM as a state variable. The pre-assimilation files do not have the NaN points. If I revert to "T" everything works fine, but that is not really an option going forward since it is no-longer prognostic. I have use_theta_m set to zero in both cases. Any thoughts on what might be going on? One related question, does update_wrf_bc work correctly with THM? Thanks,Thomas |
Hi Thomas, A quick hack would be to use T in DART, and then to write the output for T into WRF's THM (which is identical to T with use_theta_m=0). Something else: |
Thanks for the reply....after some digging, it turns out it was the difference in a "<" vs. "<=" in the boundary check portion of model mod between the T and THM versions of the code. |
closing, not fixed but see #661 for larger DART with WRF 4+ |
You mean THM is prognostic in v4. The WRF userguide says
And if you set use_theta_m=0 then THM is the dry potential temperature and happens to be the same as T.
But if you update T by assimilation then this update is not used by the forecast model since only THM is prognostic but not T.
Originally posted by @lkugler in #367 (comment)
Edit: v4 changes on https://github.com/NCAR/DART/tree/wrf-thm
The text was updated successfully, but these errors were encountered: