Closed andy8025 closed 4 years ago
Made changes to plot.py and __plot_hi.py to save the new transposed CSV files, in addition to the original CSV files. Did not modify the code in observe.py__ that emails the CSV files.
Don't know how to check what Python libraries are available on the actual telescope system. I see that NumPy is available, hope that Pandas is available as well :)
When I first did this, I wanted to use pandas to make the CSVs the way you want them, @0xCoto asked that I stick with just numpy instead.
You shouldn't need pandas because you can do the transposition without reopening the csvs, just do it before they are saved.
Thanks for the PR, just approved! The changes have been applied to the telescope, so feel free to try it out. :)
Change the way data are stored in __data_spectrum.csv and data_time_power.csv__ files that are emailed to user. Transpose rows and columns - to store samples in rows instead of columns.
Current layout:
Proposed layout:
Current CSV file layout prevents LibreOffice Calc from reading all the data. LibreOffice error: "The data could not be loaded completely because the maximum number of columns per sheet was exceeded".