wrf-python getvar works differently in Windows and Linux environment

82 views
Skip to first unread message

Yu Hiraga

unread,
Nov 8, 2023, 7:05:33 PM11/8/23
to wrfpython-talk
Hello all,

I found the issue in the title.
I was using "getvar" function to compute precipitable water and cape_2d from the wrfout file.

When I ran "getvar" in our Linux machine, it produced odd (i.e., too high, low, and discontinuous in spacial distribution) values of the precipitable water and cape.
I investigated the issue, and when I transferred the SAME wrfout file to my Windows environment and ran "getvar", it resulted in different values of the precipitable water and cape, which are in the acceptable range.

I confirmed that both of-python installed in Linux and Windows are the same version (1.3.4.1).

Additionally, I noticed that, when I ran "getvar" using meta=True/False in our Linux, environment, it resulted in different values, though not the same as the one in Windows.
Thus, I thought the "meta" option may be related to this issue, but i couldn't find the solution.

Anyone has any thoughts on this?
I really appreciate your cooperation.

Best,
Yusuke 
Tohoku University, Japan

Jana Corominas

unread,
Aug 19, 2024, 4:51:32 AM8/19/24
to wrfpython-talk, yusuke....@gmail.com
Hello Yusuke,
I myself have found a similar issue when plotting SLP or CAPE variables with wrf-python. 
At first I thought it was a version issue, but after checking with different colleagues I realized it has to be related to the machine environment.
Did you discover anything new?

Thanks a lot,
Jana.
Reply all
Reply to author
Forward
0 new messages