added debugging function for Anemometer