Spatio-temporal clustering on a high-performance computing platform for high-resolution monitoring network analysis
Authors: Lee Colin , Makar Paul , Soares Joana 
Published: February 2023

Air quality monitoring networks provide invaluable data for studying human health, environmental impacts, and the effects of policy changes,&#160; but obtaining high quality data can be costly, with each site in a monitoring network requiring instrumentation and skilled operator time. It is therefore important to ensure that each monitor in the network is providing unique data to maximize the value of the entire network. &#160;Differences in measurement approaches for the same chemical between monitoring stations may also result in discontinuities in the network data.&#160; Both of these factors suggest the need for objective, machine-learning methodologies for monitoring network data analysis.&#160; &#160;Air quality models are another valuable tool to augment monitoring networks.&#160; The models simulate air quality over a large region where monitoring may be sparse. The gridded output from air-quality models thus contain inherent information on the similarity of sources, chemical oxidation pathways and removal processes for chemicals of interest, provided appropriate tools are available to identify these similarities on a gridded basis.&#160; The output from these models can be immense, again requiring the use of special, highly optimized tools for post-processing analysis.Spatiotemporal clustering is a family of techniques that have seen widespread use in air quality, whereby time-series taken at different locations are grouped based on the level of similarity between time-series data within the dataset.&#160; &#160;Hierarchical clustering is one such algorithm, which has the advantage of not requiring an a priori assumption about how many clusters there might be (unlike K-means).&#160; However, traditional approaches for hierarchical clustering become computationally expensive as the number of time-series increases in size, resulting in prohibitive computational costs&#160; when the total number of time-series to be compared rises above 30,000, even on a supercomputer.&#160; Similarly, the comparison and clustering of large numbers of discrete data (such as multiple mass spectrometer data sampled at high time resolution from a moving laboratory platform) becomes computationally prohibitive using conventional methods.&#160;In this study we present a high-performance hierarchical clustering algorithm which is able to run in parallel over many nodes on massively parallel computer systems, thus allowing for efficient clustering for very large monitoring network and model output datasets. &#160;&#160;The new high-performance program is able to cluster 290,000 annual time series (from either monitoring network data or gridded model output) in 13 hours on 800 nodes. We present here some example results showing how the algorithm can be used to analyse very large datasets, providing new insights into &#8220;airsheds&#8221; depicting regions of similar chemical origin and history, different spatial regimes for nitrogen, sulphur, and base cation deposition, .&#160; These analyses show how different processes control each species at different potential monitoring site locations, via cluster-generated airshed maps for each species. The efficiency and flexibility of the algorithm allows for extremely large datasets to be analysed in hours of wall-clock time instead of weeks or months. The new algorithm is being used as the numerical engine for a new tool for the analysis of EU monitoring network data.&#160;