Lightning current identification in presence of a lossy ground