olca-ipc.py icon indicating copy to clipboard operation
olca-ipc.py copied to clipboard

Extend the client find() method to handle case of two processes with same name

Open clementbrizard opened this issue 4 years ago • 1 comments

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.

clementbrizard avatar Mar 06 '20 13:03 clementbrizard

https://ask.openlca.org/2680/extend-olca-client-find-method-handle-processes-with-same-name

clementbrizard avatar Mar 06 '20 15:03 clementbrizard