+2 votes
1.5k views

I have tried downloading databases from NREL US LCI, this one specifically (https://www.lcacommons.gov/lca-collaboration/National_Renewable_Energy_Laboratory/USLCI/dataset/PROCESS/89a2b59a-1ca2-34f5-acc8-a8eaaa6fa870) and importing them into openLCA 1.8 with no luck. I'm using a Mac with Mojave version 10.14.4. Here's the steps: 

download database as JSON-LD --> unzip (open with archive utility) 

in openLCA, right click--> new database--> local and complete reference data 

double click said database to activate--> right click--> import--> other--> linked data (JSON-LD) --> next 

choose directory --> select unzipped file--> okay 

I see the folder names "parameters", "flow properties", "unit_groups", "categories", "flows" on the lefthand side box, but nothing shows up in the righthand box when i click or double click them, and I'm not able to select one and hit next. 

I also tried selecting just my "Downloads" folder when choosing the directory, then the unzipped database file folder shows up on the lefthand side box of the import window, but again, not able to select anything or get anything to show up in the righthand side box. 

I've waded through the other questions on here with related issues with no luck. Any suggestions? Thanks! 

in openLCA by (260 points) 1 flag

1 Answer

+2 votes
by (1.5k points)

With openLCA you import zip archives.  Don't unpack the downloaded file before attempting to import it.

If you want the entire USLCI, you can also navigate to "repository import" in the import dialogue box, and paste in this URL:

https://www.lcacommons.gov/lca-collaboration/National_Renewable_Energy_Laboratory/USLCI 

by (260 points)
Unfortunately the zip archive is always greyed out/unable to be selected when I am in the choose directory window, looking in my downloads folder where the zip archive is located.

I did the repository import and that seemed to work! Thank you!

Still curious if you have any other ideas about individual zip archives though?
by (2.0k points)
Ezra - thanks, that repository option and website looks really helpful - hadn't looked at it before. Thanks!
tpfeiffer - re individual zips, did you try the last option you mentioned (i.e. navigating to the downloads folder), but with the zipped jsonld file still in it? It has caught me out a few times that I need to keep the jsonld as a zip and use the top "choose directory" bit to just find the folder (even though that's what it says, I guess I just don't read!)
by (120 points)
If I keep it as a zip file, OpenLCA doesn't even show it in the browser file
by (140 points)
Hi, wingertal.
I have struggled with the same problem before, and you may see this: https://ask.openlca.org/5305/how-do-i-import-openlca-methods-pack-v-2-1-3-json-ld-file
I find the answer here.
...