change weather.length to numdays
Merge pull request #3 from hassanabidpk/jp-fix-array-loop

change weatherArray.length to numdays