Created
March 23, 2023 13:46
-
-
Save cmutel/ad46209f19a38d532033fc7e66bc1624 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Reset min/max | |
for ds in bd.Database("swiss consumption 1.0"): | |
for exc in ds.technosphere(): | |
if exc.get('uncertainty type') == 0 or exc.get('uncertainty_type') == 0: | |
exc['minimum'] = exc['maximum'] = np.NaN | |
exc.save() | |
# Get functional unit | |
ave_hh = bd.get_node(name='ch hh average consumption disaggregated, years 151617') | |
# Delete the bad one | |
bd.get_node(name='ch hh all consumption disaggregated, years 151617').delete() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment