-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
IndustryIndustrial energy demandIndustrial energy demandbugSomething isn't workingSomething isn't working
Description
What happened?
While testing combinations for "other" industries, I found that for some cases (e.g., not processing Chemicals Industry individually), dividing useful energy over final energy leads to efficiencies above zero.
This issue comes from the JRC processing, in the build/data/jrc-idees/industry/processed-energy.nc
file.
I propose the following:
- Adding an
assure
statement that catches this on the JRC module. - Fixing it (if we introduce the problem) or ensuring it does not occur (if it's an issue in JRC data).
Version
1.2.0.dev
Relevant log output
eff_chemical.where(eff_chemical > 1, drop=True)
<xarray.DataArray (country_code: 9, section: 3, subsection: 1, year: 7)>
array([[[[ nan, nan, nan, nan, nan,
nan, 1.02665297]],
[[ nan, nan, nan, nan, nan,
nan, nan]],
[[1.00912944, 1.00912944, 1.00912944, 1.05977545, 1.05977545,
1.05977545, 1.05977545]]],
[[[ nan, nan, nan, nan, nan,
nan, nan]],
[[ nan, nan, nan, nan, nan,
nan, nan]],
[[ nan, nan, nan, 1.02217429, 1.02217429,
1.02217429, 1.02217429]]],
...
Metadata
Metadata
Assignees
Labels
IndustryIndustrial energy demandIndustrial energy demandbugSomething isn't workingSomething isn't working