Codes and results for the paper 'Scalable geospatial approach for dynamic on-road emission through open-access floating car data'

This workflow contains a set of Matlab codes and corresponding results of a geospatial dynamic traffic model, and is used by Fung et al (to be published, embargoed until published). The workflow contents are as follows: dynamic_emission_framework.mThis is the main script to calculate dynamic emission for the paper 'Scalable geospatial approach for dynamic on-road emission through open-access floating car data' retrieve_API.mThis function is to get real-time driving speed and relative speed data from TomTom API read_LCZ_all.mThis function is to get local climate zone from a online dataset to our desired spatial resolution class2speed.mThis function is to convert color codes from TomTom API to real-world driving speed and congestion level numbers data2emission.mThis function calculates traffic emissions from driving speed and congestion levels EF_generator.mThis function generates speed-dependent emission factors based on vehicle types (vehicle class anf fuel use), driving speed, etc, using COPERT version 5.7.1: https://copert.emisia.com/wp-content/uploads/2023/09/COPERT-v5.7-Report.pdf spatialagg.mThis function resamples spatial data from raw longitude and latitude to desired longitude and latitude Please check the readme.txt for more details on the use of this workflow set.