Closed amyryao closed 2 months ago
I've updated process_emissions so that it only calls intersect_geometries once outside the for loop, and then calls the second allocate_emissions method in the for loop each time with the result. The code currently takes around 2.7 minutes to run, so around the same time as it was before, but hopefully it's helpful on the long run!
I've separated allocate_emissions into two methods, allocate_emissions and intersect_geometries. I'm going to update some of this code later when working on issue 10!