changed method of detecting when a value is invalid. this can happen when the script is run after midnight, but before NEA has updated its website for the next day.
check that getpm25.py script is not trying to insert data in the future. quit if that's the case.