bearing / dosenet

Code for the Berkeley RadWatch dosimeter network
https://radwatch.berkeley.edu/dosenet
4 stars 0 forks source link

Speed up makeCSV by only adding new data to csv as needed #172

Closed alihanks closed 5 years ago

alihanks commented 6 years ago

mySQL queries are costly, and we query the entire x entries when getting data for the last day/week/month/year when all we really need is the new data. This will speed things up the most for the year/all-data so given the complications related to when the script last ran, etc. it might make sense to only change this for those files.