From 997f9b4802bb046880e46b7df877c1c5c1b33e9b Mon Sep 17 00:00:00 2001
From: David Robert Verelst <dave@dtu.dk>
Date: Wed, 14 Jun 2017 14:36:38 +0200
Subject: [PATCH] prepost.windIO.LoadResults: add missing sensor description
 for df

---
 wetb/prepost/windIO.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/wetb/prepost/windIO.py b/wetb/prepost/windIO.py
index 6ba34a61..b4cdd3e6 100755
--- a/wetb/prepost/windIO.py
+++ b/wetb/prepost/windIO.py
@@ -1189,6 +1189,8 @@ class LoadResults(ReadHawc2):
                 channelinfo['units'] = units
                 channelinfo['chi'] = ch
                 channelinfo['sensortag'] = sensortag
+                # FIXME: direction is the same as component, right?
+                channelinfo['direction'] = direction
 
             # WIND SPEED AT BLADE
             # 0: WSP Vx, glco, R= 61.5
@@ -1209,6 +1211,7 @@ class LoadResults(ReadHawc2):
                 # save all info in the dict
                 channelinfo = {}
                 channelinfo['coord'] = coord
+                # FIXME: direction is the same as component, right?
                 channelinfo['direction'] = direction
                 channelinfo['blade_nr'] = int(blade_nr)
                 channelinfo['radius'] = float(radius)
-- 
GitLab