Complex network approach for detecting tropical cyclones