Abstract:
Objective To interpolate meteorological factor data into gridded data through case analysis using R script, and to provide a data collation method for individual exposure levels to meteorological factors and health risk assessment.
Methods Daily meteorological data sequences were collected from 2 419 national ground-based meteorological stations in China from January 1, 2010 to December 31, 2021. The spatial interpolation was performed by inverse distance weighting with R script.
Results The best interpolation precision was achieved when the interpolation algorithm parameters p was set to 2 and N was set between 10 and 15. Meanwhile, the optimal interpolation efficiency was realized by utilizing the "furrr" package to perform parallel computation with 8 CPU cores.
Conclusion Meteorological factor data could be effectively interpolated into gridded data with R script.