Text this: Characterization of lightning-generated electric fields and development of automated measuring system for cloud-to-ground lightning in Malaysia