I would say I have to agree with redi jedi here...Best to mitigate the situation if at all possible,should they try a sue you, pretty good chance the courts will side with your neighbour,citing the quiet and peaceful enjoyment of their property is being disrupted by your cannabis smells.
I had the worst neighbour who ever existed on the planet, prior to her moving out at christmas 2020,, By far the best day of my life so far when she drove off never to return. I was sued over and over again as well broken into and robbed in the past 15 and she was involved each time.
99 percent of the times it was something she had fabricated in her own mind, then phoned the police...who eventually stopped coming out after 30 or more visits they had made to her place in a 6 month periods?
I was even sued for putting my fence, 4 feet back to the inside of the property line on her side since ,I knew she would have a problem with it no matter what I would have built on that side, so she filed in small claims court and took me to court citing I was encroaching on her property boundary (meaning to close or overlapping her Property line..when in reality I had put my fence absolutely and completely onto my property solely. The judge laughed at her and asked her why she thought I was encroaching on her property. Her first answer was she wanted the judge to award her the 4 feet of property,since to her thinking I was giving up my rights to my property by in-setting my fence 4'-0".
Also she remarked the judge was she thought I should have to pay for fixing up her entire house since I was renovating my house already, and when finished it would make her house look in her words ("like a piece of crap).
The judge looked me right in the eye and chuckled...then said why would Mr Cannadan want to pay to fix up your house??
She responded with, he grows cannabis in his back yard( 25 plants she said) and should be able to afford it (insinuating I sold weed).. The judge motioned to have what she has said struck from the record of the court case and instructed her on what she was allowed to discuss and what she was not. He wanted to hear nothing to do with me growing medical cannabis from her. I did tell him that it was in fact only 6 plants which I had the legal paper work to grow and possess and showed him a pic of my outdoor scrog garden to which his reply was" impressive".
She was also suing for encroachment so the Judge asked her for a copy of the survey she was supposed to have had done which he said would clearly show the encroachment. She did not have a copy of any survey either which turns out she had faked with the help of friends. Long and the short of it all the case was tossed, she was deemed a serial litigant and It would cost her double the normal amount ,going forward for, any court cases she might want to bring up.
I was able to fix a peace bond against her,which was to shut her up for 1 full year and if she breached the bond she would lose the $3500 bucks the judge made her put up.
The long and short of your smell issue is ,,,,you should try and find a way around the issue, and keep the peace with the neighbour.....like maybe venting your grow thru a filtre and then out thru the roof of your house .....over to the opposite side your complaining neighbour is on...
best of luck no matter what you decide