aprsworld / mybergey

0 stars 0 forks source link

Missing production data from today #2

Open aprsandrew opened 9 years ago

aprsandrew commented 9 years ago

Under the historical production data view, if you select the current month, it normally shows the data for today (ie, n data, energy produced, min/max/avg power, etc.. so far today).

Does not show up for a new PS2Tap install. For example, if customer installed PS2Tap and wanted to check max power output so far since they installed the PS2Tap (on that same day), or number of packets received so far, they would not be able to do so.

Does not even have an option to select the current month in the month select page, and if you manually enter the current month into the historicalMonthS.php URL, it just results in a blank page.

Cdetviler commented 9 years ago

Andrew and I took a look at this today and it looks like there is one bit of logic in historicalMonthS.php that makes sure the latest day record we have is also the latest day in the summary table. If we have no prior data, then this if-block does not execute. This means that the data will only start displaying after our first daily update. This is consistent with the customer that Andrew worked with yesterday who started to see data today.