added code for reading rainfall data without for loop