-
Notifications
You must be signed in to change notification settings - Fork 156
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
Wrong SLP gathered by getvar #220
Comments
Hello, I now have the same problem. Could you tell me how you solved it? Thank you so much. |
Certainly. If your python version is 3.11 or later than 3.11, then you need to downgrade your python to 3.10.9 or older than 3.10.9. Meanwhile, it is clear that wrf-python may be iill be incompatible with some package such as pycwr. If you have pycwr, please uninstall it and install pycwr and wrf-python into different environment. I downgrade my python to 3.10.9 and installed pycwr into a new environment without pycwr and the problem was solved. Hope my awful English would not bother you unterstanding my solution. ( ´ ▽ ` )ノ |
Hello @December0w0, thank you so much for your response! I changed to python 3.10.13, I don't have pycwr installed. The problem is not solved. Here's my package list, maybe any of them needs to be reinstalled: Name Version Build Channelabseil-cpp 20211102.0 hd77b12b_0 |
Sorry for late replying. I checked your packages carefully and I don't see any problem. Prehaps u should downgrade your python to 3.10.9? My python version is 3.10.9 and it worked. |
Thank you so much for your response! The problem has been solved though. It turns out that my wrf was a very old version v4.0.2 and after I reinstall it, the slp became normal. |
I was trying to plot a sea level pressure(SLP) figure while using getvar command from wrf_out file. The figure is as follow. Plots on the top are the SLP and plots on the bottom are the surface 10m

wind. Obviously there are some high pressure errors in the south part of China, while there should be a typhoon in the south of Guangdong Province and Hong Kon SAR( I know my colorbar was awful).
I checked the wrf data in Panoply and it seems normal. So I guess the problem is in where I'm reading the file or using getvar for variables. Here are the code I was using. How should I solve this problem :( ??
Getting data
I also used to_np command.
###To_np
Plotting Figures
The text was updated successfully, but these errors were encountered: