Skip to content

Comparing the NO2 air pollution during COVID-19 in different cities to see what measures help most in reducing air pollution

Notifications You must be signed in to change notification settings

standrd/tropomi-compare

Repository files navigation

TROPOMI compare

Compare the measures taken during the COVID-19 crisis in different capital cities to see what effect they had (if any) on the NO2 (nitrogen dioxide) emmissions in that area.

Product


Table of contents

🔮 Concept

The corona virus has caused humans in cities across the world to behave differently due to measures that were taken to limit the spread. There is a possibility that some of the taken measures have reduced the NO2 concentrations in the air. This tool can compair two cities at a time, with a chart that shows the difference between 2019 and 2020 in NO2 emission. Underneath this, measures that were taken are shown. The aim is that this allows the user to discover interesting patterns in the data.

Tech / packages

What does this project use?

  • Framework: VueJS
  • Charting / visualisation tool: d3js

▶️ Getting started

This example shows how to setup this project locally. Follow the steps below.

Prerequisites

  • NPM or YARN to install packages

Installation

  1. Clone the repo
git clone git@github.com:StanBankras/tropomi-compare.git
  1. Install NPM packages
npm install
// or
yarn install
  1. Run the setup
npm run serve
// or
yarn serve

🔧 Usage

The charts are based on data that is collected manually. New datapoints can be added to for example add measures or add new countries to the tool.

All JSON files can be found in public/json and can be edited to add new items.

This is an example of a category of measures:

    "movementRestrictions": {
      "measures": [
        {
          "startDate": "03-20-2020",
          "endDate": "03-21-2020",
          "goal": "Keep cases to a minimum from outside sources.",
          "measure": "Beijing is directing some inbound flights from their capital airport to other airports."
        },
        {
          "startDate": "03-21-2020",
          "endDate": "03-24-2020",
          "goal": "Keep cases to a minimum from outside sources.",
          "measure": "Beijing is now diverting all flights to fight the virus."
        },
        {
          "startDate": "03-24-2020",
          "endDate": "03-29-2020",
          "goal": "Keep cases to a minimum from outside sources.",
          "measure": "Beijing is asking people who are flying into Beijing to fill in a health declaration form. Also the flights will be diverted to other cities."
        }
      ]
    }

If a new country is added to the project, it is required to add this country to the list of countries in src/store/store.js like so:

  countries: [
    { countryCode: 'CN', city: 'Beijing' },
    { countryCode: 'NL', city: 'Amsterdam' },
    { countryCode: 'IN', city: 'New Delhi' },
    { countryCode: 'KR', city: 'Seoul' },
    { countryCode: 'IT', city: 'Milan' },
    { countryCode: 'GB', city: 'London' },
    { countryCode: 'JP', city: 'Tokyo' },
    { countryCode: 'LV', city: 'Riga' }
  ]

😃 Contributors & rationale

✒️ License

License: MIT

📜 Acknowledgements

About

Comparing the NO2 air pollution during COVID-19 in different cities to see what measures help most in reducing air pollution

Topics

Resources

Stars

Watchers

Forks