The tax laws include special provisions for primary producers. To use these you need to check you meet the Tax Office's definition of carrying on a business of primary production.
This overview explains how primary producers can shift before-tax income from years when they need it least, to years when they need it most. NAT 8776.