All projects

DataMar 2023 – Apr 2023

Tracking Airplane Carbon Emission

A web app to track carbon emission of airplanes

  • React
  • RedwoodJS
  • PySpark
  • Dataproc
  • Prisma
  • GraphQL
  • PostgreSQL

Architecture (simplified)

FlightdataroutesaircraftBatch jobsPySpark/DataprocPopulationdatacitiestownsEmissionsmodelMLpredictorPostgreSQLviaPrismaGraphQLAPIRedwoodservicesWeb appRedwoodJSReactFlightdataroutesaircraftBatch jobsPySpark/DataprocPopulationdatacitiestownsEmissionsmodelMLpredictorPostgreSQLviaPrismaGraphQLAPIRedwoodservicesWeb appRedwoodJSReact
Batch PySpark jobs and an emissions model both land in Postgres; a GraphQL layer serves it to the RedwoodJS app.

About the project

TACE answers a simple question: how much carbon does the flight I'm about to take actually put out? Pick a route, and the app shows the emissions for it.

It was a team project at CU Boulder, and I built the full-stack side: the RedwoodJS app people use, the GraphQL API behind it, and the Prisma models over PostgreSQL. The team processed the flight and aircraft data with PySpark batch jobs on Dataproc, and a small model estimates the emissions a new airport would add based on the population around it. My job was turning all of that into something you can click through and understand.