Castroville's nickname celebrates its status as a producer of artichokes .