ImportError -> from wrf import getvar

39 views
Skip to first unread message

yashus u

unread,
Jan 12, 2024, 9:26:58 PM1/12/24
to wrfpython-talk
Hi everyone,

I'm encountering issues while installing WRF Python. Specifically, I'm unable to import the 'getvar' library from WRF. Could anyone please assist me?
Machine -> Apple M2
which gcc-> /usr/bin/gcc
whicg gfortran -> /opt/homebrew/bin/gfortran


The error message I'm receiving is:
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
/var/folders/ld/xm4cx30j32gbl86n_0gb13xh0000gn/T/xpython_3902/2103250201.py in <module>
      2 import numpy as np
      3 import xarray as xr
----> 4 from wrf import getvar
      5 get_ipython().run_line_magic('matplotlib', 'widget')
      6 import matplotlib.pyplot as plt
getvar error.png
Reply all
Reply to author
Forward
0 new messages