added while loop to store quarterly rainfall data