GithubHelp home page GithubHelp logo

jorviizheng / china-cities-air-quality Goto Github PK

View Code? Open in Web Editor NEW

This project forked from huidi-lu/china-cities-air-quality

0.0 2.0 0.0 3.12 MB

Air quality data (PM2.5) from different sources

License: GNU General Public License v2.0

Python 100.00%

china-cities-air-quality's Introduction

Air Quality Data of Major China Cities

Python version scrapers, inspired by @feelinglucky and 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 City, AQI, 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.

###Data at a glance PM25_199801_200012
PM25_199801_200012

PM25_201001_201212
PM25_201001_201212

Provincial-level correlation between China's 'Open Up and Reform' policy and air qulity change
scatter

###Reference:

  1. Air quality index - Wikipedia, the free encyclopedia

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.

AQI Mechanics
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)

AQI Air Pollution
Level
Health Implications
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

china-cities-air-quality's People

Contributors

huidi-lu avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.