Open AminFazlKazemi opened 2 years ago
Hi, sorry for the late reply!
Rttov is a class defined by the RTTOV installation, so it should work out of the box. To check that, try to run RTTOV13/wrapper/pyrttov_example.py
in your RTTOV installation directory.
If it does not work, then the python RTTOV interface has not been set up correctly.
Hi
I installed latest RTTOV 13 and python wrapper when I use code below
from rttov_wrf import call_pyrttov,setup_VIS import pyrttov
import xarray as xr
config = setup_IR()
config = setup_VIS()
wrfout_path="/mnt/hgfs/wrf/wrfout_d01_2020-10-26_12_00_00/wrfout_d01_2020-10-26_12_00_00" ds = xr.open_dataset(wrfout_path) times = ds.Time
for t in times: rad = call_pyrttov(ds.sel(Time=t), config )
I face this error
AttributeError: module 'pyrttov' has no attribute 'Rttov'
The files are compiled and installed in .pyc format in python cache folder.
could you helpwhat I can do tosolve issue?