NIR spectrometers can be used to quickly and accurately determine the composition of manure. The analysis in the field is cheap and easy, nothing has to be sent to the lab. Measurements to determine the nutrient values (N and P) are done by NIR spectrometer during the complete loading process. The information available online is also used to determine the dosage of the manure at the time of application.