Calculate time and Add geographical data in constant.dat