Chemical analysis of soil