subroutine dealloc_soil
deallocate(abd)
deallocate(al)
deallocate(amp)
deallocate(ap)
deallocate(avt)
deallocate(awc)
deallocate(bd)
deallocate(bden)
deallocate(cbn)
deallocate(cla)
deallocate(clay)
deallocate(cn2)
deallocate(cv)
deallocate(ek)
deallocate(fc)
deallocate(ffc)
deallocate(flate)
deallocate(hk)
deallocate(hrtc)
deallocate(hum)
deallocate(hwss)
deallocate(ns)
deallocate(nsa)
deallocate(op)
deallocate(pmn)
deallocate(poe)
deallocate(por)
deallocate(poros)
deallocate(psz)
deallocate(san)
deallocate(sand)
deallocate(sc)
deallocate(sil)
deallocate(silt)
deallocate(smx)
deallocate(soil_filenames)
deallocate(ste)
deallocate(stin)
deallocate(sumfc)
deallocate(sumul)
deallocate(swin)
deallocate(tc)
deallocate(te)
deallocate(te0)
deallocate(ul)
deallocate(up)
deallocate(wf)
deallocate(wft)
deallocate(wi)
deallocate(wmn)
deallocate(wn)
deallocate(wno3)
deallocate(wp)
deallocate(wpo)
deallocate(z)
end subroutine dealloc_soil