Local threshold field for dendritic instability in superconductingMgB2films