quick patch for CentOS server

fixed solar migration; weather.winddir may be null.