Though I suspect that both the weather and the book contributed to your negativemood, if I had to guess I'd vote for the book as having the larger impact.
Based on employee logs, the connection between mood and negative events is about five times stronger than the connection between mood and positive events.