WOLFRAM

Fighting Air Inequality: Bridge the Gap between Programming and Thinking

Colleen Rosales, Strategic Partnerships Director, OpenAQ Inc.

This page requires that JavaScript be enabled in your browser.
Learn how »

"It's not just a tool, it's also a way of thinking."

Challenge

Air pollution is the second leading cause of premature mortality, and clean air is not distributed equally around the planet or within countries. OpenAQ aggregates publicly available real-time air quality data to monitor and solve air inequality.

Colleen Rosales, strategic partnerships director at OpenAQ, gathers data from a variety of instruments to analyze. Some take measurements in real time, but the frequency can vary from every minute to every second. Other instruments use filter-based methods in which air passes through a filter for a certain period of time. The filter is collected and analyzed for particles later.

Rosales wanted to visualize and model the data from all sources to see trends and compare which types of measurements performed better for different elements. Also, because the frequency of data being collected was increasing, the analysis was taking longer. She needed a tool to align the data collected from different instruments, and she needed that tool to work faster.

Solution

Rosales rewrote an existing data analysis program in Wolfram Language and created a graphical user interface for processing. Intuitive code and natural language "allowed me to combine my way of thinking into how a computer would think," she said.

She used the built-in function Dataset because it makes the data both human readable and computable. With human-readable data, Rosales can easily do sanity checks for different pollutant elements or different geographic locations. For example, she can easily check that in urban locations, the data shows certain elements from brake and tire wear.

In addition to built-in functions, Rosales used the extensible nature of Wolfram Language. Functions in the Wolfram Function Repository let her see more correlations, and she can also customize the functions further to compare different kinds of measurements clearly.

Benefits

Rosales said that Wolfram Language "allows you to think in many ways on how to approach your data, or how to analyze your data." This saves development time and increases flexibility because you can think about your program "in a way that is closer to how you'd normally think about it in your head."

More information:

The Wolfram Edge

  • Smith and his team save a lot of coding effort, letting Wolfram SystemModeler do "a lot of the heavy lifting. It all happens automatically, and it's there right out of the box."
  • "Doing parameter analysis in the Wolfram Language takes a few seconds compared to hours in industry standard packages," which Smith says has led to a drastic increase in productivity.
  • Smith appreciates the tight integration between SystemModeler and the Wolfram Language, which allows him to "have a system model running with the push of a button, then process it all in the notebook front end."

Who Can Benefit

  • Petroleum engineers in production and transportation
  • Industrial lab technicians and researchers
  • Operations researchers and industrial engineers