You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1)第16-27行,函数定义为“def cal_ivt(q, u, v, lon, lat, lev, surf_pres=None):”,但在后面解释时,“lon (numpy array): vertical level, hPa, [nlev]; lat (numpy array): longitude, [nlon]; lev (numpy array): latitude, [nlat]”这三个参数的注释不匹配,根据后面的计算过程来看,应该是以定义时的参数为准吧?
2)在以定义参数为准代入相关数据进行计算时,第46行会报错“index 1 is out of bounds for axis 0 with size 1”,暂时还没理解是什么问题,不知您是否有代入相关数据计算?
期待得到您的解答,谢谢!
The text was updated successfully, but these errors were encountered:
您好,在使用 https://github.com/nmcdev/nmc_met_base/blob/master/nmc_met_base/moisture.py 计算水汽通量时遇到以下问题,希望跟您交流:
1)第16-27行,函数定义为“def cal_ivt(q, u, v, lon, lat, lev, surf_pres=None):”,但在后面解释时,“lon (numpy array): vertical level, hPa, [nlev]; lat (numpy array): longitude, [nlon]; lev (numpy array): latitude, [nlat]”这三个参数的注释不匹配,根据后面的计算过程来看,应该是以定义时的参数为准吧?
2)在以定义参数为准代入相关数据进行计算时,第46行会报错“index 1 is out of bounds for axis 0 with size 1”,暂时还没理解是什么问题,不知您是否有代入相关数据计算?
期待得到您的解答,谢谢!
The text was updated successfully, but these errors were encountered: