When she presented at Wairarapa Hospital last November, medical staff found a "hole approximately 5cm by 6cm in diameter on her lower left leg, just below the knee," he said.
Crown prosecutor Emma Light told the court one doctor described it as one of the worst cases of neglect he had seen in his 30 years as a consultant paediatrician.
During his sentencing summary, Judge Barry said several medical practitioners had concluded the child's mother and her partner would have noticed serious injury developing.
"That neglect led to this gaping wound exposing the bone."
"It clearly was a manifestly visible injury ... as the medical people said [it was] up to some days before the child was taken to hospital."
An argument from Pickering's lawyer, Jonathon Miller, that a nerve disorder the child suffered from - which lessened her ability to feel pain - factored in her mother's ignorance to the child's injury was rejected by Judge Barry as "superficial".
"Any parent with that child constantly must have become aware that there was a wound developing."
The child had also undergone seven surgeries related to her injury, which included skin grafts, and a wound from the injury continued to cause problems.
Judge Barry said Pickering had admitted to using cannabis regularly; turning to the drug when she was unable to afford prescription medication.
A bid for name suppression was rejected earlier today, with Judge Barry saying he could see nothing that would cause undue hardship to the girl. She is now living with her father.
Pickering's partner also pleaded guilty to neglect and is due to be sentenced in the next few weeks.