From 88ae069fcf657c1790bb04b444e150c06f04e5f6 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期四, 30 十二月 2021 11:50:46 +0800
Subject: [PATCH] 1. 网格化风向权重分析完善

---
 src/main/kotlin/com/flightfeather/uav/model/epw/WindDirWeight.kt |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/main/kotlin/com/flightfeather/uav/model/epw/WindDirWeight.kt b/src/main/kotlin/com/flightfeather/uav/model/epw/WindDirWeight.kt
index 73335b8..927fae2 100644
--- a/src/main/kotlin/com/flightfeather/uav/model/epw/WindDirWeight.kt
+++ b/src/main/kotlin/com/flightfeather/uav/model/epw/WindDirWeight.kt
@@ -39,6 +39,7 @@
         x1 = abs(x2 - x1)
         if (x1 > 180) x1 = 360 - x1
 //        println("澶硅锛�$x1")
+        x1 = 180 - x1
         return x1
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3