Analysis of synoptic weather patterns of heatwave events