I grew out some photo Bruce banner, GG and NL#5 all photoperiod harvested 4/20 that have a huge tinge of cat piss! Couldn't get rid of it and kept to myself because people were complaining of the bag smells. It warms up and bam, Ammonia/Diesel/piss especially when breaking up the buds with fingers!
Tip#1 and this might be a Myth but using urea as forms of N in Veg stage seems to linger and meddle with aromas and flavors during flower(yeah, piss as a fertilizer!)
Tip#2 Slow, medium high RH drying and curing process after long flower period to fully ripen trichs and flower.
I remember back in the day around 2007 there was a sour diesel going around my area that was so dank and totally reeked of skunk spray and cat piss, it also had a very sharp, indescribable taste to the palate....almost like burning gasoline in your mouth! And as far as I could remember the buds were so dark, they were black and covered in crystals.
Good old days.