I'll be honest, not sure that the title covers the complete topic.
I'm not a python programmer but we received a library that returns a 3D numpy array.
The values are temperatures in a wall. But sometimes some sensors are out of order or malfunctioning, this library build for us handles these problems. We provide the routine sets of data. The first one is a table with x,y coordinates and the inside temperature, the second one just the same x,y and outside temperatures.
The function returns a 3D numpy array.
The most outer array has a size of 3. with the indexs 0 = internal temperature, 1 = corrected internal temperature, 2 = outside temperature.
Inside we find a array that holds the x array of the y array values.
So getting lists out of that array works with (where insidetemp=0, outsidetemp=2)
insideTemperatureList = temperatureData[INSIDETEMP, 0,:]
outsideTemperatureList = temperatureData[OUTSIDETEMP, 0,:]
Final question .. I would like to get this in a array like this (° sign just to clarify)
[type-temp, x-coord, y-coord, temp]
[[0,0,0,15°],[0,0,1,16°],[0,0,2,90°] .... [1,0,2,16°] ... [2,10,10,-3°]]
Anybody could help me out ?