Police have discovered a huge £800,000 cannabis factory in South Yorkshire.