I am glad you were able to tell your probation officer about the police contact before the police officer contacted your probation officer. I am glad for your sake that your probation officer is not taking any action.
And I am also glad that you are grounded for a bit for climbing on roofs near trains. It will be easier for you to be perfect when there is nothing else for you to do.
Good luck.