NCAR / WVD-MCSupdate

Addition of NCAR MCS, rewrite to software infrastructure, and expansion of features for WVD operations.
2 stars 1 forks source link

Child reporting time causing bug around midnight #245

Closed stillwer closed 5 years ago

stillwer commented 5 years ago

Currently there is a bug with the Child Reporting feature of the container. The weather station failed at 22 UTC and it is currently 2 UTC. So the difference of those two times is -20 hours, which is less than 5 seconds because it is negative. Need to put in an extra check to make sure that the time between the check in and now is not negative.

stillwer commented 5 years ago

Just put in a patch to make the queue checkin happen with days since January 1, 2000. Added a full day and partial day since Y2K function. Updated the container and resources (idle function) accordingly.