add sweep direction indicator to data file