Effects of measurement technique and sample preparation on NIR spectroscopy analysis of livestock effluents and digestates