Here are the penal codes. They are state of CA and not federal. Mandatory times period, for growing with enhancements if done while high, around kids or schools, and with weapons around. The legal threshold is 28.5 grams. How much does a wet plant weigh?

CALIFORNIA CODES SECTION 11357-11362.9


11358. Every person who plants, cultivates, harvests, dries, or
processes any marijuana or any part thereof, except as otherwise
provided by law, shall be punished by imprisonment in the state
prison.

11360. (a) Except as otherwise provided by this section or as
authorized by law, every person who transports, imports into this
state, sells, furnishes, administers, or gives away, or offers to
transport, import into this state, sell, furnish, administer, or give
away, or attempts to import into this state or transport any
marijuana shall be punished by imprisonment in the state prison for a
period of two, three or four years.