Conventional laboratory analysis of manures is expensive, slow and, for solids, can give unreliable results. NIRS has greatly improved precision and reliability in the analysis of forages and is now routinely used for the analysis of silage and grain.
http://www.bpex.org.uk/articles/298602/A_new_method_for_the_analysis_of_manures_using_Near_Infrared_Reflectance_Spectroscopy_NIRS.aspx