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

BUG: 风向统计值并非以最小扇形进行计算 #33

Closed
Clarmy opened this issue Jan 28, 2023 · 0 comments
Closed

BUG: 风向统计值并非以最小扇形进行计算 #33

Clarmy opened this issue Jan 28, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Clarmy
Copy link
Contributor

Clarmy commented Jan 28, 2023

描述BUG
风向统计值并非以最小扇形进行计算

复现方法

import numpy as np
from cyeva import WindComparison

ws1 = np.array([1,2])
ws2 = np.array([2,3])
wd1 = np.array([357,190])
wd2 = np.array([3,5])

wc = WindComparison(ws1, ws2, wd1, wd2)
wc.calc_rmse(kind='direction')

结果是 282.4367,超过180°,不是以最小扇形进行计算的

希望的结果
以最小扇形进行计算,得到的角度小于180°

屏幕截图
If applicable, add screenshots to help explain your problem.
如果有需要,请附上屏幕截图。

桌面系统(请补充下列信息):

  • 操作系统: MacOS
  • 浏览器
  • 版本号 0.1.0.beta.6

附加内容
关于本议题的其他内容。

@Clarmy Clarmy added the bug Something isn't working label Jan 28, 2023
@Clarmy Clarmy self-assigned this Jan 28, 2023
Clarmy added a commit that referenced this issue Jun 12, 2023
@Clarmy Clarmy closed this as completed in 9983e07 Jun 12, 2023
Clarmy added a commit that referenced this issue Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant