HERA-Team / simple-dashboard

Quick and dirty dashboard setup
0 stars 0 forks source link

Antenna Status CSV #31

Closed mickeyhorn closed 4 years ago

mickeyhorn commented 4 years ago

Could you add another module that reports the status of each antenna in csv format? Rows would correspond to antennas, and columns would be all the metrics you are monitoring. I'd like it to have it's own page like http://heranow.reionization.org/snapspectra.html, but instead of "snapspectra.html", it would be "ant_status.csv" or something like that.

mickeyhorn commented 4 years ago

Basically just take your "per antpol stats vs hex position" map, and turn whatever data you have there into a csv.

mkolopanis commented 4 years ago

Some times we do not have recent data for a particular statistic, what fill in value would be most reasonable for you? A None? 0? Infinity?

mickeyhorn commented 4 years ago

Probably a none, or a string saying "no data", something like that. I'd avoid a number.

mkolopanis commented 4 years ago

nan is rather easy to pass through a blind formatting string meant for floats, would that work?

mickeyhorn commented 4 years ago

Sure, go for it

mkolopanis commented 4 years ago

there is a test table available here let me know if it suits your needs http://heranow.reionization.org/ant_stats.csv

mickeyhorn commented 4 years ago

Hm, what delimiter did you use? Opening it in Excel puts everything in 1 column, but spaced out.

Otherwise I think it's fine, I won't be able to test internet functionality until my new Pi comes in though.

mkolopanis commented 4 years ago

They are space separated, if excel is trying to make each whitespace a new column then I could see this being a bad time, I can change to strict comma separated since it won't need to be human readable anyway.

mickeyhorn commented 4 years ago

Yea, comma separated would at least help with debugging on my side

mkolopanis commented 4 years ago

This seems to be working after #32