The farm, designed for 48,000 pigs a year, drew penalties months after starting operations and is now upgrading its odour treatment system.