Skip to content
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

关于积分水汽通量计算的问题 #4

Open
TaoXu1995 opened this issue Dec 5, 2020 · 0 comments
Open

关于积分水汽通量计算的问题 #4

TaoXu1995 opened this issue Dec 5, 2020 · 0 comments

Comments

@TaoXu1995
Copy link

您好,在使用 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”,暂时还没理解是什么问题,不知您是否有代入相关数据计算?

期待得到您的解答,谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant