Code to insert all observation data