A large dairy in western Kansas has only a few more weeks to complete an appeal for a crucial permit which, if lost, could force the dairy to lose its herd.

The Associated Press reports the Kansas Department of Health and Environment intends to terminate the water pollution control permit for international milk producer Ceres Agrar GmbH's Cimarron dairy in Cimarron, Kan. Ceres Agrar GmbH can appeal by the Feb. 4 deadline.

The dairy is at risk of losing its herd, up to 9,050 cows, if an appeal is denied.

Ceres Agrar GmbH took over the dairy in 2007. "The permittee has had a long and continuing history of permit violations," the Kansas Department of Health and Environment says in a document filed in the Kansas Register.

To make matters worse, a wastewater spill occurred last Thursday at the dairy, The Hutchinson News reported.