Once groundnut is dug up at harvest, plants with pods attached are left dry in the field. This makes it easier to strip the pods from the plants.
The best methods to reduce A. flavus infection involve getting sun and air to the pods.
Whether groundnuts are harvested by machine or by hand, the process shakes as much dirt away as possible, and inverts the plant to encourage quick and even drying. By shaking off dirt and placing the vines upside down, the pods are exposed to the sun and held off the ground by the vines.