olca-ipc.py
olca-ipc.py copied to clipboard
Extend the client find() method to handle case of two processes with same name
I want to find a process (from Ecoinvent) which name is "diammonium phosphate production | phosphate fertiliser, as P2O5 | Cutoff, S".
The problem is there are two processes with this name, one with RER location and one with RoW location. I want the RER one.
The only solution I found is getting all the processes with the get_all()
method, and then getting the one with right name and right location. Which obviously is too hard for the computer, because of the huge number of processes.
Any clue ? Otherwise I guess I should migrate to directly use the olca maven modules.
https://ask.openlca.org/2680/extend-olca-client-find-method-handle-processes-with-same-name