Add tools.c to meteo