fix bug, finish reading obs and calculate departure