bug fixes: properly encode upload url. fix daily rain parameter.
handle db failure gracefully.