USEPA / IO-Model-Builder

Create environmentally extended input-output models
Other
13 stars 8 forks source link

Capturing additional data quality information #3

Closed WesIngwersen closed 7 years ago

WesIngwersen commented 8 years ago

Currently we have the ability to capture flow level data quality scores in the satellite tables.

We should be able to include the USEPA data quality schemes in the background. I will upload a json-ld file with the flow and process level schemes.

I would like also to be able to assign flow level data quality for the commodity inputs created from the direct requirements table. To keep this simple, this can be added manually for now. For the USEEIO, using the USEPA data quality scheme the scores would be {1;3;1;1;1}

Perhaps the sector metadata file format can be expanded to allow for process level scores to be entered for each process/sector. USEPA_DataQualitySchemes_JSON-LDforopenLCA1.6.zip

In the end we would like to be able to export the flow-level data quality and process-level data quality data into JSON-LD

msrocka commented 8 years ago

I added the data quality schemes from the json-ld file you uploaded. These schemes are now linked to the processes when exporting a model with the data quality option:

olca.Export(model, with_data_quality=True).to('model_jsonld.zip')

I set the default data quality value of all economic inputs to (1;3;1;1;1). Is this correct? Should we also do this for the product outputs?

Regarding the process level dq-entries: We have already defined the columns 24 and 25 in the sector meta-data file for the process level-entries. So in principle this should already work (if there is no bug).

There is also a source file for the data quality schemes in the json-ld package you uploaded. Should I add this source to the processes in the export with data quality?