ยง  1300-c. Farming activities.  Notwithstanding any other provision of
  law, the agricultural activities conducted on  a  farm,  as  defined  in
  section  six  hundred  seventy-one  of  the  labor  law,  shall  not  be
  considered a private nuisance,  provided  such  agricultural  activities
  were  commenced  prior to the surrounding activities, have not increased
  substantially in magnitude or intensity and have not been determined  to
  be  the cause of conditions dangerous to life or health as determined by
  the commissioner, the local health officer  or  local  board  of  health
  pursuant  to  sections  thirteen  hundred,  thirteen hundred-a, thirteen
  hundred three and thirteen hundred four of this chapter.
Structure New York Laws
Article 13 - Nuisances and Sanitation
Title 1 - General Provisions; Control and Abatement
1300 - Nuisances; General Powers of Commissioner.
1300-B - Throwing Gas Tar or Refuse Into Public Waters.
1301 - Nuisances; Examination and Abatement by Order of Governor; Expenses.
1302 - Nuisances; Local Boards of Health; Duty to Assist Commissioner.
1303 - Nuisances; Local Boards of Health; General Powers and Duties.
1304 - Nuisances; Local Health Officers; General Powers.
1305 - Nuisances; Abatement by Local Boards of Health.
1306 - Nuisances; Abatement Expenses.
1307 - Nuisances; Abatement Expenses; Lien and Execution.
1308 - Powers and Duties of Local Boards of Health.
1309 - City of New York; Exceptions.
1311 - Hand Washing Facilities at Certain Public Establishments Featuring Animals.