Air Quality Data of Major China Cities
Python version scrapers, inspired by
his project of mainland china AQI database.
Official AQI folder contains data crawled from MEP datacenter(http://datacenter.mep.gov.cn). The data is stored in the file
AQI.csv, ranging from 2000-6-5 to 2015-3-27. There are three columns in it, namely
Date(very easy to understand). If you wish to get this updated, please run the scraper and enter correct dates.
IPE Data folder contains detailed data such as PM10, SO2, CO, average dust, in the file
ipedata.csv. Original scraper is also included. If you wish to run this spider again(though I do not recommand so), please also download
spacedict.csv to the same directory, as it translates the city name to its code used by the website. Personally I am very grateful for their work. If you also find the information useful, please consider donating to them! (link:Support--IPE)
US Ambassy Data folder contains data from us ambassy in Beijing(2008-2014), Shanghai(2011-2014), Guangzhou(2011-2014), Shenyang(2013-2014) and Chengdu(2012-2014).
Fetch_cnpm25_Data.py is a spider which crawls data from http://www.cnpm25.com/.
Another very useful source is
Global Annual PM2.5 Grids from MODIS, MISR and SeaWiFS Aerosol Optical Depth (AOD), 1998-2012.
China's Ministry of Environmental Protection (MEP) is responsible for measuring the level of air pollution in China. As of 1 January 2013, MEP monitors daily pollution level in 163 of its major cities. The API level is based on the level of 6 atmospheric pollutants, namely sulfur dioxide (SO2), nitrogen dioxide (NO2), suspended particulates smaller than 10 μm in aerodynamic diameter (PM10), suspended particulates smaller than 2.5 μm in aerodynamic diameter (PM2.5)， carbon monoxide (CO), and ozone (O3) measured at the monitoring stations throughout each city.
An individual score(IAQI) is assigned to the level of each pollutant and the final AQI is the highest of those 6 scores. The pollutants can be measured quite differently. PM2.5、PM10 concentration are measured as average per 24h. SO2, NO2, O3, CO are measured as average per hour. The final API value is calculated per hour according to a formula published by the MEP.
AQI and Health Implications (HJ 663-2012)
|0–50||Excellent||No health implications.|
|51–100||Good||Few hypersensitive individuals should reduce outdoor exercise.|
|101–150||Lightly Polluted||Slight irritations may occur, individuals with breathing or heart problems should reduce outdoor exercise.|
|151–200||Moderately Polluted||Slight irritations may occur, individuals with breathing or heart problems should reduce outdoor exercise.|
|201–300||Heavily Polluted||Healthy people will be noticeably affected. People with breathing or heart problems will experience reduced endurance in activities. These individuals and elders should remain indoors and restrict activities.|
|300+||Severely Polluted||Healthy people will experience reduced endurance in activities. There may be strong irritations and symptoms and may trigger other illnesses. Elders and the sick should remain indoors and avoid exercise. Healthy individuals should avoid out door activities.|
#####2. pH Value A method of expressing differences in the acidity or alkalinity of a solution. A figure of 7 is regarded as neutral, figures below this indicate the decree of acidity and above alkalinity.
#####3. Particles Particulate matter or PM (also called particle pollution) is the term for a mixture of solid particles and liquid droplets found in the air. Some particles, such as dust, dirt, soot, or smoke, are large or dark enough to be seen with the naked eye. Others are so small, they can only be detected using an electron microscope. Particle pollution includes "inhalable coarse particles," with diameters larger than 2.5 micrometers and smaller than 10 micrometers and "fine particles," with diameters that are 2.5 micrometers and smaller. How small is 2.5 micrometers? Think about a single hair from your head. The average human hair is about 70 micrometers in diameter – making it 30 times larger than the largest fine particle. These particles come in many sizes and shapes and can be made up of hundreds of different chemicals. Some particles, known as primary particles are emitted directly from a source, such as construction sites, unpaved roads, fields, smokestacks or fires. Others form in complicated reactions in the atmosphere of chemicals such as sulfur dioxides and nitrogen oxides that are emitted from power plants, industries and automobiles. These particles, known as secondary particles, make up most of the fine particle pollution in the country.Source: United States Environmental Protection Agency