Introduction

In late December 2019, a new strain of an infectious disease was discovered in Wuhan, China, and was named COVID-19 (Chen et al. 2020a, b, c; Zhang et al. 2021; Afify et al. 2021). This virus, which is a human-to-human transmitted virus (Wang et al. 2020; Wang and Su 2020), causes an acute respiratory infection that can progress to pneumonia if the symptoms are not treated (Jiang et al. 2020a, b; Coccia 2021). The findings indicate that old age is one of its risk factors (Luo et al. 2020; Wang and Zhao 2021) with an approximate 2–3% fatality rate (total infected people who died) (Rodriguez-Morales et al. 2020; Bonilla-Aldana et al. 2020). On February 19, 2020, the Iranian Ministry of Health officially reported that two patients with pneumonia were associated with COVID-19 in the city of Qom. Gilan, Arak, and Tehran were the other provinces where this virus spread widely. Thereafter, the count of infected populations increased rapidly, and within 1 month, the outbreak became a national crisis, with infected individuals diagnosed all over the country (Iran Health Organization 2020). To control this infection, the National Corona Committee was deployed with subcommittees in each province. To prevent the spread of the disease, this committee has enacted measures to ban traffic at different times of the day and close or reduce the operation time of high-risk industries, factories, etc. These measures were lifted from 13 to 20 April. As of 4 May, the confirmed cases are 97,424, and the deaths are 6203 (World Health Organization 2020).

Despite all the negative impacts assigned to COVID-19, one of the positive aspects of the quarantine situation is the reduced transportation which led to cleaner air. Many destructive and quality-degrading environmental problems caused by humans have plagued the Earth since the beginning of the twentieth century. Today, air pollutants are one of the most common environmental and health problems in developed and developing countries. This is caused by ever-increasing fossil fuel consumption (Shen et al. 2021; Wang and Zhang 2021). This problem has its cultural, economic, social, and political dimensions, which can be controlled through planning, inter-sectoral cooperation, and comprehensive and efficient management at the national level (Wang and Su 2020). The effect of air quality on public health has been well documented and studied with different scientific methods to protect human health and prevent environmental degradation. Human manipulative intervention of any kind in the environment has endangered human health and damaged ecosystems (Bai et al. 2020). Human well-being and the environment are threatened by air pollution (Zhu et al. 2020). Scientific findings indicate that, unless air pollution is controlled in the first half of this century, one person would die due to air pollution every five seconds (Gauderman et al. 2015). Studies have found that air pollution is a respiratory infection risk factor, directly involved in the body immunity system (Zhu et al. 2020; He et al. 2020; Muhammad et al. 2020), and some suggested that the microorganisms inhaled from pollutants make pathogens more invasive to humans and affect body immunity (Becker and Soukup 1999; Cai et al. 2007; Xu et al. 2016; Horne et al. 2018; Xie et al. 2019).

When measuring air quality, the most important contaminants that are monitored are particulate matters (PM), as well as NO2, CO, O3, and SO2 gases. PM in the formation of fine particles 10 µm or smaller (PM10) can enter the respiratory system through breathing and can cause severe respiratory diseases, among others (Jung et al. 2019). According to some researchers (Xu et al. 2020), PM10 is thought to be caused by five distinct factors: secondary inorganic aerosols, fire, crustal mud, automotive waste, and biomass combustion. Resuspension of dust has also been identified as a cause of particulate matters (Aquilina et al. 2021). Despite the fact that the O3 stratosphere protects the Earth’s surface from ultraviolet radiation, certain O3 concentrations on the Earth’s surface are toxic to the respiratory and cardiovascular systems owing to their strong oxidative reaction (Sicard et al. 2020). Air pollutants such as NO2, SO2, and CO are toxic to humans, and short- and long-term exposure is associated with a lung infection (Pandey et al. 2021). The spatial autocorrelation model has been identified by several researchers as a beneficial means to investigate the characteristics of spatial improvements in air quality. The use of a spatial autocorrelation model in air quality analysis, according to Liu et al. (2020), could explicitly obtain the aggregation field, and the distribution characteristics show the trend of spatial aggregation and the Clean Air Act (CAA) (limitation on certain air pollutants). Getis and Ord (2010) made a distinction between global and local spatial solidarity. Local solidarity can be applied to obtain the local solidarity field covered in the absence of general autocorrelation. The resemblance of measurements at opposite spatial positions is compared using global autocorrelation statistics. Local spatial autocorrelation figures show that the findings of one spatial location are related to the prospects of another region. Lin and Zhu (2018) used global and local Moran’s index to measure the spatial autocorrelation of air quality index (AQI) values and discovered that AQI values had significant spatial dependency and heterogeneity. To assess the spatial association between air quality index and weather conditions in various wards in Jaipur, Dadhich et al. (2018) used Moran’s I and LISA for spatial analysis. Moran’s I findings revealed a clear positive relationship between AQI and relative humidity, temperature, and wind speed. Identifying the influential features of COVID-19 would contribute to making decisions. An attempt is made in this study to describe how a virus can be as effective as a program and more effective than strategies in ecosystem health. By carefully examining Tehran air quality as an environment-friendly parameter, the impact of COVID-19 on environmental health between 2015 and 2020 was evaluated.

Materials and methods

This survey was conducted in Tehran, Iran’s capital and the country’s most populous metropolis. At 1300 m above sea level, the city has a total area of 730 km2 with a population density of almost 11,800 inhabitants per km2. The seasonal average temperatures of Tehran are in spring 28.6 °C; summer 34.76 °C; autumn 16.86 °C; and winter 12.2 °C (IMO 2019). The city is divided into four main residential, commercial, industrial, and green space land use categories, and 22 regions are under the supervision of the municipal regions. According to the census department of Iran, in 2015, Tehran’s population was 8,737,510 (Mihankhah et al. 2020). The official statistics on the number of the people infected with COVID-19 in Tehran are not available due to the government’s confidentiality. However, according to the Iranian Ministry of Health, Tehran has the highest number of confirmed cases and deaths due to COVID-19 (Iran Health Organization 2020).

Figure 1 shows the conceptual framework applied in our methodology. The framework represents the completion of a thorough investigation, as well as the use of accurate information and appropriate indicators in the region. This research is divided into two phases; (i) data collection and calculation of the AQI and (ii) geostatistics and spatial analysis, which are to analyze the measurable effects of quarantine on air quality.

Fig. 1
figure 1

Research framework. Source: Study’s findings

Phase i: data gathering and air quality index (AQI)

Data collection and time analysis

At first, statistical available sources were gathered from the pollutant concentrations at pollution measuring stations, from which a dataset was created, and the same target time for the research was chosen. In this regard, Table 1 summarizes the information and features of each station, while Fig. 2 depicts the case study and location of each station. The AQI of different pollutants from February 29, 2015, to April 20, 2020, was analyzed. To clarify the selected dates, April 2020 was the only time that the quarantine was fully implemented. Densities of six pollutants per hour, including PM2.5, PM10, carbon monoxide (CO), nitrogen dioxide (NO2), sulfur dioxide (SO2), ozone (O3), and sulfur dioxide (SO2), were obtained from the Air Quality Monitoring System (AQMS), as well as the online portal for air quality data dissemination (Link).

Table 1 Statistical values of the air quality index at monitoring stations between 2017 and 2020
Fig. 2
figure 2

Stations of air quality which are used in this study

Air quality index (AQI) calculations

Air quality affects human life, specifically the respiration system. Just as the weather changes on a daily or hourly basis, the air quality changes too. The AQI as a regular index is a widely used metric of air quality information to educate the general public about the air quality status and its related health risks (Zheng et al. 2014; Jiang and Bai 2018). Monitoring air quality in large cities converts air quality data into the AQI and provides the required information to the public on a daily basis. This index is a key tool applied in knowing air quality and how air pollution affects citizens’ health, which provides methods for protection against air pollution.

The AQI is obtained for the main five pollutants, including particulate matters, nitrogen dioxide, ground surface ozone, carbon monoxide, and sulfur dioxide air pollutants (CPCB 2014). Given that the pollutant concentrations are monitored on an hourly basis, the AQI evaluation consists of two stages: (1) recording air pollutants, maximum hourly values for NO2 and O3 and maximum 8 h for CO, and (2) extracting maximum O3 in 24 h for PM10, PM2.5, and SO2 according to the standard. The AQI is used to calculate the average change in air quality (Zheng et al. 2014). Equation (1) is used to measure the AQI sub-index for each pollutant I (Song et al. 2020).

$${AQI }_{\mathrm{ap}}= \frac{{{AQI }_{\mathrm{uc}} - AQI }_{\mathrm{lc}}}{{BP}_{\mathrm{uc }}- {BP}_{\mathrm{lc}}} ({C}_{\mathrm{ap}} - {BP}_{\mathrm{lc}}) + {AQI }_{\mathrm{lc}}$$
(1)

AQIap is the index for a specific air pollutant (ap), and AQIue and AQIlc are the index values for the upper and lower breakpoint (BP) categories, respectively. The BPuc concentration for each air pollutant is represented by Cap, and the air pollutant upper and lower concentrations at each BP category are represented by BPlc (Yousefian et al. 2020). With respect to 0–50, 51–100, 101–200, 201–300, 301–400, and 401–500 AQI, the AQI is classified into six categories: fine, moderate, bad for vulnerable groups, poor, very harmful, and dangerous. The concentrations are converted into a number within a 0–500 scale (Sharma et al. 2020).

SPSS and Excel are applied in analyzing the data. Comparison of mean, maximum, and minimum daily indices are assessed within a 60-day range. To understand the process of changing the statistical parameters, the maximum AQI for all the studied stations is assessed, and the Excel software is applied to draw the related graphs.

Phase ii: geostatistics and spatial analysis of AQI data

The spatial covariance or distortion is used to describe the spatial continuity characterization of a given attribute (Kim et al. 2022). Indeed, there are several spatial characteristics of the attribute, such as the distribution of air pollution patterns of continuity and spatial dispersion at different scales. In the present study, the statistical characteristics of the calculated points were used for geostatistical research (i.e., a variogram) and interpolation (i.e., produce raster from calculated points). Furthermore, to apply interpolation techniques and spatial autocorrelation, the Moran index has been used (Nguyen et al. 2022b).

Variogram

Geostatistics is a type of information that produces quantitative information of natural variables ordered in time and space. Geostatistics is divided into two parts: variography and interpolation (Ogunsanwo et al. 2021, Gagliardi et al. 2021). The frequency distribution of data is very important in terms of its effect on estimation by geostatistics methods. To perform geostatistical analyses, the samples must follow a normal distribution. In this way, we need to perform the normality test, and if the data distribution is not normal, the data are normalized using various methods, so that the accuracy of data estimation increases after the normalization (Qu et al., 2021).

The semivariogram is a statistical variable (spatial insertion) to create input parameters and estimate spatial variability (Koike et al. 2021). The measured distance is a function of the statistical correlation power of the semivariogram. The sierras represent the interval at which the spatial relationship disappears, and the threshold represents the highest variability in the lack of spatial dependence. The semivariogram is half the supposed square interval between the values of paired data Z (x) and Z (x + h) with a delay interval h with which the locations are classified (Molla et al. 2022). For discrete sampling sites such as those in this study, the function is usually written in Eq. (2):

(2)

where c (h) is the half-variance, h is the delay distance, Z is the AQI parameter, N (h) is the number of pairs of locations separated by the delay intervals h, Z (xi) and Z (xi + h) are the values of Z that are in the positions xi and xi + h, respectively (Alsafadi et al. 2021, Zhang and Lv 2021).

Because the geostatistics of the model is dependent, a theoretical model must fit the experimental variogram prior to interpolation. Some theoretical models, such as linear, spherical, exponential, and Gaussian models, can describe the semivariogram (Cao et al. 2022; Bauwelinck et al. 2022). Indeed, when modeling a variogram, the model that has the least amount of residuals should be chosen.

Interpolation

By applying the geographical data and environmental information and integrating them with the Air Pollution Monitoring Center data, the distribution patterns and spatial analysis are designed and mapped. In this study, the assessments include the spatial analysis of the concentrations of the air pollutants (the pollution index) as well as the process of their changes in the time periods of recording the first case of COVID-19 during the beginning and end of quarantine in Tehran. Applying the spatial and geostatistical methods is common in assessing the distribution of air pollution in similar studies of this field. In this study, mapping the average AQI of the 2017–2020 period and the changes thereof are assessed. By adopting this method, it is possible to accurately distribute air pollution at different times in locations with no data. The radial basis functions (RBF), empirical Bayesian kriging (EBK), global polynomial interpolation (GPI), local polynomial interpolation (LPI), inverse distance weighting (IDW), kernel smoothing estimation (KSE), and diffusion kernel interpolation (DKI) are applied here according to validation, and the output is selected for each studied time period (Hossain et al. 2022; Azizsafaei et al. 2021).

Radial basis function

This is an algorithm for interpolating a surface with the least curvature using sampling-interpolation points. The generated surface must pass through each measured point, and the radial basis function (RBF) predicts values that are identical to those measured at the same point. The predicted values can differ from the measured values’ maximum and minimum (Nguyen et al. 2022a). This is done by applying a set of low-order local polynomial insertions to a set of adjacent interpolation points that pass within the sample points. This method gives better results for surfaces with a relatively mild slope (e.g., the condensation of water level contamination). When the surface values change dramatically over short distances, RBF is ineffective (Plack et al. 2022).

Empirical Bayesian kriging

In the field of air pollution science, empirical Bayesian kriging (EBK) is notable widely used. EBK is a geostatistical interpolation approach that simplifies the process of creating a reliable kriging model. In EBK, it is assumed that for the semi-variable interpolation region, the actual graph is estimated and the linear prediction with spatial attenuation is variable. Other methods necessitate manual parameter adjustments, but EBK calculates these parameters automatically using subsetting and simulation processes (Sun et al. 2022). As a result, a nonstationary algorithm for spatial interpolating geophysical corrections has been developed. When the coverage is good, this algorithm extends local trends and admits it to bend to a previous background when the coverage is insufficient (Ahamed et al. 2022).

Global polynomial interpolation

The sample points are fitted with a polynomial formula by global polynomial. The sampled data points are fitted with a smooth surface by GPI. GPI is the only geostatistical analytics method that does not utilize neighborhood or search height. GPI creates a surface using a variety of formulas, each of which is tailored to a specific neighborhood. The global polynomial surface evolves over time and captures the data’s coarse scale patterns. GPI is conceptually similar to placing a piece of paper between highlights (Beauchamp et al. 2018).

Local polynomial interpolation

Local polynomial fits the local polynomial using points only within the specified neighborhood instead of all data (Alsafadi et al. 2021). The LPI uses the center of each region as a forecast for each place, after fitting smaller areas of overlap with the sample points. Neighborhoods can then overlay, and the area value in the center of the neighborhood can be determined as the prognosticated value. LPI has the ability to create levels that catch short-range changes (Farzin et al. 2020).

Inverse distance weighting

IDW, based on close understood locations, is the most comprehensive method for air pollution interception techniques. The presumption that close things are more similar than those that are far apart is explicitly supported by IDW interpolation. The weight of the interpolation points is proportional to their extent from the interpolation point. It weighs the points closer to the prediction location greater than those farther away, hence the name inverse distance weighting. In fact, the known sample points are implicit to be self-governing from each other (Atta 2020).

Kernel smoothing estimation

In statistics related to nonparametric, the points recognized in the nucleus density estimation are viewed as the achievement of a possibility level (Brindha 2021). This method is used to detect accident points (automatically records the value for each point), and then it calculates the density using numerical statistical algorithms. In other words, the underlying principle of this method is that it defines the density of the nearest neighboring accident points by first calculating the distance of another accident from the initial reference accident point. In addition, KDE is a manner for indicating the possibility density at any location, for example, constructing a possibility density level based on locations (points).

The “cross-validation” method is applied for validation to determine which approach offers the best interpolation. A cross-validation technique was used to assess and analyze the performance of different interpolation techniques. The main criterion to select cross-validation is the root square error (RMSE), which can calculate fixed points (Draper et al. 2013; Bosboom et al. 2020).

Spatial autocorrelation (Moran’s index)

This index is widely used to determine how clustered, random, or fragmented a spatial pattern is. The global spatial autocorrelation (global Moran’s index) calculates the average degree of spatial autocorrelation for emissions and air quality datasets, while the local spatial autocorrelation (local Moran’s index) identifies the position and form of contaminants and air quality variables (Zhao et al. 2019, 2020). To calculate the spatial autocorrelation, first, the z-score and p-value are calculated, and next, the significance of the index is evaluated. Moran’s index is calculated through Eq. (3).

$$I=\frac{\sum_{i=1}^{n}\sum_{j=1}^{n}Wi.j ({X}_{\mathrm{i}}-\overline{X })({X}_{\mathrm{j}}-\overline{X })}{(\sum_{i=1}^{n}\sum_{j=1}^{n}Wi.j)\sum_{\mathrm{i}=1}^{\mathrm{n}}{({X}_{\mathrm{i}}-\overline{X })}^{2}}$$
(3)

where n denotes the number of zones, Xi and Xj denote the intensity values in positions i and j, and X denotes the mean vector. The global spatial autocorrelation change is within the − 1 and + 1 range. If the spatial autocorrelation values are significant and greater than zero, the spatial autocorrelation is positive and clustered, otherwise negative and scattered. The Z (I) indicates a random pattern in the value of observations. In general, the spatial autocorrelation is subject to the values of the z-score, which means that the positive score values indicate a high-value clustering and the negative values indicate a low precipitation spatial clustering (Jiang et al. 2021). To assess the spatial distribution of AQI, Eq. (4) is applied in estimating the local spatial autocorrelation.

$$I= \frac{\left({X}_{\mathrm{i}}-\overline{X }\right)}{{S}^{2}}{\sum }_{i=1.j\ne 1}^{n}Wi.j{ Wi.j}^{ }({X}_{\mathrm{i}}-\overline{X })$$
(4)

Wi.j is the weight of the spatial within phenomena i and j, where Xi is the root of I and X is the average of the concern.

Results

After collecting and reviewing data from the active stations in Tehran, preprocessing was performed on the data of the study area, which included the replacement of sensor and missing data. Also, a nonparametric test was used to determine the normality of the data. The information of the relevant parameters is extracted on a daily basis, and a dataset of the pollution concentration and air quality was generated. Table 1 displays the minimum, maximum, and average AQI values, as well as the number of unhealthy days with AQI = 100 over a 60-day period. On average, the level of pollution was higher in the period 2017 to 2018, compared with 2019 to 2020, where the lower volume of pollution and number of unhealthy days was counted in 2020, due to the impact of weather parameters, in this case, rainfall. The weather conditions, quarantining, and region location are the three main factors of air quality in Tehran during the three time periods studied. Although it is difficult to separate these three factors, the assessment of the level of pollution during quarantine conditions compared to previous years provides useful information on the management of urban air quality.

As shown in Table 2 and Fig. 1, in general, the rate of pollution contamination in April 2020 in the 60-day COVID-19 quarantine period has not changed significantly compared to the same period in 2019; however, pollutants such as PM2.5 have increased dust in Tehran. The prevalence of COVID-19 and the announcement of COVID-19 quarantine conditions in Iran coincided with Nowrooz holidays (New Year holidays in Iran), and during this period, many industries reduce their activities, and the traffic volume in Tehran decreases, leading to the average volume of pollutants. Despite the fact that this period is short, taking into account the number of healthy and unhealthy days and the volume of different pollutants per day in the COVID-19 quarantine period compared to previous years, we can conclude that pollution has decreased during the quarantine period due to a decrease in industrial activities and urban traffic. Moreover, some pollutants, such as SO2, O3, and CO, are reduced due to the decline in traffic and industrial activities.

Table 2 Air quality indicators and pollutant parameters at stations

In all the tables, the days showing the level of pollution and the sources of pollution are separated. This means that the recorded information was received by a station and then classified according to the AQI standard. Next, the cause of the pollution was identified. However, depending on the location of the station and its conditions, all the days with high pollution may be in the same class, and other days may have a good distribution or “zero” condition which, for example, indicates the absence of “Good Day” at a specific time and location (station). More specifically, in Table 2, in 2017, there was no day in the “Hazardous” status throughout the year, and only 3 days were very unhealthy. Thus, zero shows the number of class days at a station.

The share of each pollutant is shown separately for each of the 13 stations studied in Fig. 3. Overall, pollution indices such as NO2, O3, and CO have sharply decreased in stations at various times, while the share of suspended particles has increased. This variation does not indicate an increase in pollution, but rather a mixture of pollutants. Due to the decrease in vehicle traffic, the University of Tehran’s station, which is the city’s central station and has the most vehicle traffic, has shown different amounts and combinations of the pollutants during the COVID-19 quarantine period. This can be generalized to all the stations. The time trend of 2020 compared to 2019 indicates a decrease in the share of important pollutants. Changes in the pollution rate during the study period can be due to reduced urban traffic, small industrial activities, and dust mites of urban and industrial origins. Although pollution has declined in most regions during the COVID-19 quarantine period, the PM2.5 rate has not decreased significantly, which might be because of natural origins such as dust.

Fig. 3
figure 3

The contribution of each pollutant to air pollution

Applying geostatistical technique, the spatial structures between the data are first examined using variogram analysis. The condition for using this analysis is the normality of the data that we normalized in the previous section. The result of this test is shown in Table 3, which shows that the data are well normal. To spatially connect a variable using a variogram, it is essential to calculate the mean of the squares of the difference between two points separated by a known distance h and plot in front of h (Seyedmohammadi et al. 2016).

Table 3 Descriptive statistics of data used for interpolation

The AQI variogram describes spatial dependencies and builds mutual understanding about the manners that affect its distribution partially. According to Fig. 3, a descriptive model with a more coefficient of measurement and a C0/(C + C0) ratio corresponds well to the semi-variance. Compared to other models, higher R2 and lower RSS, this model implemented in an experimental half variable shows that it is the most suitable model among other models. The nugget impact ratio for the variables is around 0.25 and 0.75, as shown in the outcomes of the variogram (Table 4 and Fig. 4), and the most appropriate model fitted to AQI for 2020 is Gaussian (Arora 2018).

Table 4 Characteristics of fitted models on the variogram
Fig. 4
figure 4

Semivariograms of AQI

The data applied in the geostatistics, after normalization and variography in GS + s/w, are interpolated by different models and then applied in root mean square (RMS) evaluation. In this study, RBF, EBK, GPI, LPI, IDW, KSE, and DKI were used to estimate AQI. By applying RMS, the interpolation models can be compared to find the most appropriate model. If the value of this RMS is smaller, it indicates more accuracy in estimation. The accuracy and precision of interpolation models are compared in Table 5.

Table 5 Comparison of different Interpolation models using (RMS)

The comparison of models shows that almost in all the models, the RMS were close to each other. However, due to the fact that an interpolated raster must be selected for analysis each year, the interpolation with the least error was selected. For the average of 2017 and 2019, the IDW model with EBK and KSE presented almost similar results, and the LPI and DKI had the same RMS of 10.23 and 20.24, but the RBF model had a lower error coefficient. This model was selected for the 2017 and 2018 average interpolation. In 2020, almost all the models had an RMS between 3.4 and 9, except for the GPI model, in which the IDW model was chosen because of the lower RMS. However, the IDW model was chosen to calculate the difference in variation and the quarantine effect, which is due to the fact that this model has a lower RMS than the other models. Although the IDW RMS was close to the LPI, the others had higher RMS. Hence, for this purpose, the RBF method was applied for AQIAVG (2017–2019) interpolation, and the IDW model was applied for AQIAVG (2020) interpolation. Changes in AQI are shown in Figs. 5, 6, and 7.

Fig. 5
figure 5

AQI interpolation from 2017 to 2019 based on the radial basis function (RBF) model

Fig. 6
figure 6

AQI average interpolation since 2020 based on the inverse distance weighting (IDW) model

Fig. 7
figure 7

Ranking changes in the 2020 AQI compared to the average air quality index from 2017 to 2019 based on the IDW model

Figure 5 shows the high AQI index but does not indicate the contamination factor. Therefore, the reason for the increase in the index in the southern areas of the city is the presence of polluting industries. As shown in Fig. 3, in the stations of region 15, NO3 and O3 and dust are the main factors increasing the index. Furthermore, with the closure of all businesses from 2017 to 2019 during the holidays, traffic has sharply decreased and as a result, pollution has decreased. However, as shown in Fig. 6, such situation is still prone to factory pollution and dust, due to the proximity of susceptible areas. In District 6, which is the center of the city, the level of pollution has increased slightly. The reason for the increase in pollution and the index is not using public transportation and only using personal cars, which lead to heavy traffic in these areas. Districts 6, 7, 8, and 4 have a large population and urban infrastructure such as hospitals, which has increased the traffic in these areas. Figure 7 shows the difference between the indicators, which is an expression of the increase in the index in the city center and the main roads related to it. In the southern areas, due to the closure of factories and the decrease in entry and exit of the province, the index has decreased.

The interpolation of the results indicates that in the years 2017–2019, the highest AQI rate was in the center of the city, due to traffic congestion, which was not influenced by COVID-19 quarantine program. A decline in the AQI in the south and north of the city was observed, mainly due to the curfew and the closure of university centers and polluting industries in the south of the city. Based on AQI interpolation, changes are felt in southern regional pollution. Air pollution is a problem in Tehran’s southern districts due to factory operations and heavy traffic, while during the COVID-19 quarantine, the activities are reduced, as well as the volume of industrial pollution. In the center, air quality is mostly affected by the heavy traffic which moves throughout the city during the quarantine period; thus, there is no decrease in air quality despite the quarantine. It is worth noting that the interpolation of the city based on the volume and type of pollution is essential in air quality management in the post–COVID-19 period.

Spatial autocorrelation (global Moran’s index)

To extract the spatial statistics by applying zonal statistical command, first, the volume of statistics for 22 regions of Tehran should be extracted, separately. For this purpose, the spatial autocorrelation of the indicators should be extracted according to the physical features of each region. The global Moran’s index outputs are presented in their graphical and numerical sense in Fig. 8 and Table 6, where the graphical output shows the clustered or scattered data. In general, data with a Moran’s index value close to + 1 have a spatial autocorrelation and cluster pattern, whereas data with a Moran’s index value close to − 1 are fragmented and dispersed. The null hypothesis in this index suggests that no spatial clustering occurs among the volumes of the elements associated with the appropriate geographical features. When the p-value and approximate z-value are very small in this method, the absolute value is very high (the tax is within the confidence range), and the null hypothesis can be rejected. As observed in Table 6, Moran’s index is 0.613 and 0.488, respectively, for AQIAVG (2017–2019) and AQIAVG (2020), and 0.37 for the change in AQI.

Fig. 8
figure 8

Spatial autocorrelation (Moran’s index) graphic diagram for the study area

Table 6 Spatial autocorrelation (global Moran’s index) values for the study area

The evaluation of the volumes obtained through the significant threshold in a significant manner reveals that the estimated values of Moran’s index for the three time scales examined at 0.01 alpha are significant, which indicates no spatial clustering. It is concluded that both AQIs for each year and its changes follow a structured spatial pattern in the study area and are not distributed in a random manner.

Spatial autocorrelation (local Moran’s index)

Global Moran’s index specifies only one pattern. Therefore, this index is applied in assessing the spatial distribution of the pattern governing the AQI. The results of the significant local Moran’s maps (Fig. 8) show the AQI clustering. If the volumes in Eq. (2) are positive, the phenomenon is surrounded by similar effects, implying that the phenomenon or the AQI is part of that non-cluster. The obtained volumes of this statistic are calculated within the standard score and the p-value and can be interpreted and analyzed. In addition to z being positive and p being significant, the Moran index was also significant. As a result, the introduced pattern is clustered in the form of a cluster pattern for the reasons described (hotspot centers are surrounded by cloud spots). High-high cluster (HH) represents a cluster class of high value which has a positive spatial covariate at 99% significance level, while low-low cluster (LL) represents a cluster class of low value which has a negative spatial covariate at 99% significance level. High-low outlier (HL) is a non-cluster class where a positive volume of negative values is confined, while in low–high outlier (LH), a negative volume of positive values is confined at 5% significance level. Table 7 and Fig. 9 show different patterns of the local Moran’s air quality in the time scales studied.

Table 7 Areas covered by the pattern obtained from local Moran’s analysis
Fig. 9
figure 9

Distribution of local Moran’s pattern for air quality index

Figure 9 shows the clustering of areas, indicating that during the same quarantine period (Nowrooz holiday), from 2017 to 2019, region 7 and in the quarantine period of districts 17, 9, and 18 as hotspots are high-risk areas for pollution. Besides, zones 6 and 7 have been introduced as hotspots due to the increase in pollution during the quarantine period, and zone 20 has become a cold spot.

Getis analyses are used to identify key regions and changes in AQI over time. The results of Getis-Ord Gi statistics have been used to identify key points such as hotspots, the increase in AQI (cold spots), and the decrease in AQI, which are shown in Fig. 10 (95, 90, and 99% confidence levels). Furthermore, zones 15 and 16 with 99% confidence and zone 20 with 95% confidence were calculated as cold spots, while zones 6 with 99% confidence, zones 7 and 11 with 95% confidence, and zones 8 and 2 with 90% confidence were calculated as hotspots.

Fig. 10
figure 10

Patterns and changes in AQI

According to the pollution center, regions 2, 6, 7, and 8, which are on the same spots, in addition to showing the effect of car traffic on air quality, probably indicate the effects of climatic elements, like the wind in region 6, and the spread of pollution therein to other surrounding regions. The results of the study indicate that commercial regions, such as regions 5 and 6, have the highest pollution during the COVID-19 quarantine period. Quarantine has been more effective in closing factories than urban small businesses.

To calculate the index changes in the study region, the maximum intensity of AQI parameters (except for SO2 and PM2.5) for all the stations is assessed (Table 8). Figure 11 shows that polluted days caused by PM2.5 have a sharp increase, which was at the beginning of the curfew on March 2. The AQI slope shows a further decrease compared to previous years. This rate followed a descending pattern until March 27, when the maximum intensity of the fixed trend index increased until April 12, when the quarantine ended, and then increased to 18 days after the air quality index restrictions were lifted.

Table 8 Maximum air quality index and number of days of pollution in the study area
Fig. 11
figure 11

The trend of changes in the maximum total AQI in Tehran

The declining trend of AQImax within 2017–2019 and 2020 is evident from February 20, which is in the period before and after the New Year in Iran, but the main difference is on March 10, the beginning of the quarantine, which is probably due to reduced industrial activities and traffic in Tehran.

Discussion

In this study, changes in air quality, the volume of pollutants affecting the city of Tehran as one of the most populous cities infected with COVID-19, and the degree of interaction of this virus with air pollution and vice versa are assessed. During the COVID-19 quarantine season, the AQIs improved significantly; SO2, NO2, and O3 emissions added fewer pollutants to the air; and the number of contaminated days decreased relative to previous years. Although the air quality index increased in 2020 compared to 2019 (in 2019, there was more rain and wind), the annual mean changes are noticeable compared to the same periods, i.e., the New Year holidays in Iran which led to the normal closure of most of the jobs and industries and reduced traffic in the city. The findings of this research indicate that air pollution problem is related to the economic, social, and political situations, and its control requires the participation of all communities. Assessing the changes in pollution before and after the COVID-19 quarantine period separates regions affected by the pollution emitted from factories and vehicles.

The obtained findings are, on the whole, entirely compatible with relevant research. According to the studies by Mao et al. (2020), Venter et al. (2020), and Yousefian et al. (2020), dry air causes thermal inversion, which stops vertical contaminants from spreading and increasing their accumulation. Furthermore, wind speed can help minimize emissions. Briz-Redón et al. (2021) discovered that very low wind levels are associated with the raising air deposition by reducing PM. The formation of pollutants, particularly PM, can have a positive impact on high pressures. According to Rahman et al. (2021), suspended particles cannot scatter and accumulate properly, contributing to high particle loads in the atmosphere. The results indicate that the AQI index has a positive autocorrelation in Tehran, which is quite consistent with the findings of Xiong et al. (2020), Filonchyk et al. (2020), and Chen et al. (2020a, b, c). They looked at the COVID-19 epidemic’s geographic statistics and contributing factors in Hubei Province, China. According to our study, significant improvement in air quality was also found in cities that implemented measures, other than lockdowns, to prevent the spread of COVID-19. These improvements in AQI have been observed in different countries experiencing COVID-19, including the USA (Berman and Ebisu 2020a, b; Pan et al. 2020), Italy (Zoran et al. 2020), and India (Kumari and Toshniwal 2020; Sharma et al. 2020).

Despite the reduction in some pollutants during the quarantine period, it is important to note that afterward, the volume of pollutants increased, which is probably due to the removal of some regulations like the traffic plan to prevent people from using public transport. Although COVID-19 has reduced global economic growth, it has had a positive impact on the environment, but it is likely that in the post–COVID-19 period, politicians and beneficiaries will seek to offset economic growth, and there will be an increase in industrial and urban pollution. It is necessary to study the effects of the first phase of COVID-19 on the environment comprehensively, during and after COVID-19, in a careful manner. According to previous studies, microorganisms are transmitted by airborne pollutants that pose a high risk to patients with respiratory infections and provide conditions for the invasion of pathogens into humans (Horne et al. 2018; Xie et al. 2019). The highlight of the relationship between pollution levels and the impact of weather conditions on COVID-19 emissions is that to date, July 8, 2020, 2 months have passed since the end of COVID-19 quarantine in Iran, and air temperature and pollution levels have increased. However, 200 daily deaths in Iran have been reported during the COVID-19 epidemic (Iran Health Organization 2020). According to Wang and Su (2020), by reviewing the studies run in the past few months, it was found that measures like COVID-19 quarantine and protecting people from becoming infected have an affirmative impact on the environment. The researchers (Ogen 2020) found that 78% of COVID-19 losses occurred in areas of northern Spain and Italy with high NO2 concentrations that could affect the role of airborne flow in transmitting the virus (Zhu et al. 2020). They confirmed the link between air pollutants and rising condensation of pollutants as the number of people infected with COVID-19 increased (Muhammad et al. 2020; Sood and Sood 2020; Kakol et al. 2020). By examining satellite images and data from contaminated regions, they show a 30% reduction in air pollution in these regions (Ahmadi et al. 2020). Examination of parameters like population density and climatic factors shows that the effect of high population density and high humidity on COVID-19 emission is positive.

City interpolation based on the volume and type of pollution is essential in air quality management in the post–COVID-19 period. The scale of the cities and the events that take place in them have a significant influence. Transportation, agriculture, and manufacturing have larger human impacts (combustion, automobile exhaust, etc.) in major cities. These results are in line with those of Mahato et al. (2020), Bao and Zhang (2020), and Sharma et al. (2020).

The majority of research focused on air quality’s spatial transition characteristics. According to Li et al. (2012), China has highland in the southern regions that decrease in the northern regions and become lowlands in the western and eastern regions, which has a notable impact on the climatic conditions and air quality of the region. Using a spatial autocorrelation study, Wang et al. (2019) and Lee et al. (2017) found that values of AQI are spatially dependent in Chinese cities. High amount of AQI can be mainly seen in the northern and northwest region, whereas lower amount of AQI can be mainly seen in the southern and Qinghai regions. Xu et al. (2017) discovered a significant range of spatial differences in AQI using a GIS software and a map related to heat, with the maximum AQI value in the middle-east region of the plain in Northern China.

Conclusion

COVID-19 is a human hazard that has had different effects at different times and different places. One of the effects of COVID-19 is its effect on traffic, and its secondary effect is on air quality. This paper examines changes in air quality due to the quarantine caused by COVID-19. This study investigated the hourly concentrations of six particulate matters. Findings indicated that changes in pollution rate during the study period can be due to reduced urban traffic, small industrial activities, and dust mites of urban and industrial origins. Although pollution has declined in most regions during the COVID-19 quarantine period, the PM2.5 rate has not decreased significantly, which might be of natural origins such as dust. The results showed that the increasing percentage of the count of days caused by PM2.5 pollution has a sharp increase, which was at the beginning of the curfew on March 2. The AQI slope showed a further decrease compared to previous years. This rate followed a descending pattern until March 27, and the maximum intensity of the fixed trend index increased until April 12. The results of this study indicate that the quarantine has not been able to significantly affect the mean air quality index; this is because of the use of private cars instead of public transport, which is more evident in areas 6 and 7. On the other hand, the maximum air quality index expressed in Fig. 10 has decreased. Spatial autocorrelation analysis has shown a positive correlation between changes in decrease or increase in indicators. Finally, it can be said that although COVID-19 can affect the rate of contamination in a short period of time, due to the prevalence of COVID-19 in crowded places such as public transport fleets, people have been forced to use personal items, and as a result, pollution has increased.

This thesis used interpolation models and spatial autocorrelation to quantify pollutant fluctuations during the Iran lockdown while taking into account the key meteorological factors at play. The credibility of our findings is supported by the robust effects of spatial autocorrelations and contributing factors. This research is intended to contribute to a better understanding of the COVID-19 epidemic’s spatiotemporal dynamics and contributing factors. Furthermore, officials at all levels of government will benefit from this research in terms of scientific prevention and management of the disease.