new routines to do weather and write status string to text/ppm file