data munding (for weather.dat)