Hello, I want to postprocess SMOIS using wrf.getvar and it gives me the following error:
Traceback (most recent call last):
File "/datos/blazquez/wrf-getvar/./wrf-getvar.py", line 671, in <module>
lanzar_corrida(ncfiles, f_ini_mes, f_fin_mes, interv_seconds, project, directorio_salida, vars_list)
File "/datos/blazquez/wrf-getvar/./wrf-getvar.py", line 445, in lanzar_corrida
var_da_interp = interpolate(variable_da, pres, interp_lvls)
File "/datos/blazquez/wrf-getvar/./wrf-getvar.py", line 188, in interpolate
variable_interp = wrf.interplevel(var_da, pressure, interp_levels)
File "/usr/local/lib/python3.9/dist-packages/wrf/metadecorators.py", line 1730, in func_wrapper
return _set_horiz_meta(wrapped, instance, args, kwargs)
File "/usr/local/lib/python3.9/dist-packages/wrf/metadecorators.py", line 801, in _set_horiz_meta
result = wrapped(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/wrf/interp.py", line 109, in interplevel
result = _interpz3d(field3d, vert, _desiredlev, missing)
File "/usr/local/lib/python3.9/dist-packages/wrf/specialdec.py", line 678, in func_wrapper
raise ValueError("argument 0 and 1 must have same rightmost "
ValueError: argument 0 and 1 must have same rightmost dimensions
Any idea of what is happening?
Thanks!
Josefina
Traceback (most recent call last):
File "/datos/blazquez/wrf-getvar/./wrf-getvar.py", line 671, in <module>
lanzar_corrida(ncfiles, f_ini_mes, f_fin_mes, interv_seconds, project, directorio_salida, vars_list)
File "/datos/blazquez/wrf-getvar/./wrf-getvar.py", line 445, in lanzar_corrida
var_da_interp = interpolate(variable_da, pres, interp_lvls)
File "/datos/blazquez/wrf-getvar/./wrf-getvar.py", line 188, in interpolate
variable_interp = wrf.interplevel(var_da, pressure, interp_levels)
File "/usr/local/lib/python3.9/dist-packages/wrf/metadecorators.py", line 1730, in func_wrapper
return _set_horiz_meta(wrapped, instance, args, kwargs)
File "/usr/local/lib/python3.9/dist-packages/wrf/metadecorators.py", line 801, in _set_horiz_meta
result = wrapped(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/wrf/interp.py", line 109, in interplevel
result = _interpz3d(field3d, vert, _desiredlev, missing)
File "/usr/local/lib/python3.9/dist-packages/wrf/specialdec.py", line 678, in func_wrapper
raise ValueError("argument 0 and 1 must have same rightmost "
ValueError: argument 0 and 1 must have same rightmost dimensions
Any idea of what is happening?
Thanks!
Josefina