Load routine fix for new sensors
Since sensors are being plotted correctly for tracking there is no need to invert them anymore.
@@ -184,7 +184,7 @@ def exportTrackerDict(self, trackerdict, savefile, reindex):
d.to_csv(savefile)
-def deepcleanResult(resultsDict, sensorsy, numpanels, Azimuth_ang, automatic=True):
+def deepcleanResult(resultsDict, sensorsy, numpanels, automatic=True):
'''
cleanResults(resultsDict, sensorsy, numpanels, Azimuth_ang)
@author: SAyala
@@ -270,23 +270,6 @@ def deepcleanResult(resultsDict, sensorsy, numpanels, Azimuth_ang, automatic=Tru
f_linear = interp1d(x_0, panelA['Wm2Back'])
panelA_back = f_linear(x_i)
-
- #INVERTING MODULES IF IT IS PAST NOON
- if Azimuth_ang > 180:
- temp=panelA_front
- sumFrontA=temp[::-1]
- temp=panelA_back
- sumBackA=temp[::-1]
-
- temp=panelB_front
- sumFrontB=temp[::-1]
- temp=panelB_back
- sumBackB=temp[::-1]
-
- Frontresults=np.append(sumFrontA,sumFrontB)
- Backresults=np.append(sumBackA,sumBackB)
-
- else:
Frontresults=np.append(panelB_front,panelA_front)
Backresults=np.append(panelB_back,panelA_back)
@@ -327,20 +310,6 @@ def deepcleanResult(resultsDict, sensorsy, numpanels, Azimuth_ang, automatic=Tru
f_linear = interp1d(x_0, panelB['Wm2Back'])
panelB_back = f_linear(x_i)
-
- #INVERTING MODULES IF IT IS PAST NOON
- if Azimuth_ang > 180:
-
- temp=panelB_front
- sumFrontB=temp[::-1]
- temp=panelB_back
- sumBackB=temp[::-1]
-
- Frontresults=sumFrontB
- Backresults=sumBackB
-
- else:
-
Frontresults=panelB_front
Backresults=panelB_back
