pik-piam / remind2

The remind2 package contains the REMIND-specific routines for data and model output manipulation.
0 stars 41 forks source link

reportPrices reports NA for fegat in transport #405

Closed orichters closed 1 year ago

orichters commented 1 year ago

With

curr_fe: fegat

this line and later lines report such wrong variables:

q <- as.quitte("NGFS_v4/remind-2023-04-12/output/C_SSP2-Base-rem-6/REMIND_generic_C_SSP2-Base-rem-6.mif")
grep("\\|NA", levels(q$variable), value = TRUE)

 [1] "Price|Marginal|Final Energy|Transport|ESR|NA"
 [2] "Price|Marginal|Final Energy|Transport|ESR|NA|Biomass"
 [3] "Price|Marginal|Final Energy|Transport|ESR|NA|Biomass|Moving Avg"
 [4] "Price|Marginal|Final Energy|Transport|ESR|NA|Efuel"
 [5] "Price|Marginal|Final Energy|Transport|ESR|NA|Efuel|Moving Avg"
 [6] "Price|Marginal|Final Energy|Transport|ESR|NA|Fossil"
 [7] "Price|Marginal|Final Energy|Transport|ESR|NA|Fossil|Moving Avg"
 [8] "Price|Marginal|Final Energy|Transport|ESR|NA|Moving Avg"
 [9] "Price|Marginal|Final Energy|Transport|NA"
[10] "Price|Marginal|Final Energy|Transport|NA|Biomass"
[11] "Price|Marginal|Final Energy|Transport|NA|Biomass|Moving Avg"
[12] "Price|Marginal|Final Energy|Transport|NA|Efuel"
[13] "Price|Marginal|Final Energy|Transport|NA|Efuel|Moving Avg"
[14] "Price|Marginal|Final Energy|Transport|NA|Fossil"
[15] "Price|Marginal|Final Energy|Transport|NA|Fossil|Moving Avg"
[16] "Price|Marginal|Final Energy|Transport|NA|Moving Avg"
[17] "Price|Marginal|Final Energy|Transport|other|NA"
[18] "Price|Marginal|Final Energy|Transport|other|NA|Biomass"
[19] "Price|Marginal|Final Energy|Transport|other|NA|Biomass|Moving Avg"
[20] "Price|Marginal|Final Energy|Transport|other|NA|Efuel"
[21] "Price|Marginal|Final Energy|Transport|other|NA|Efuel|Moving Avg"
[22] "Price|Marginal|Final Energy|Transport|other|NA|Fossil"
[23] "Price|Marginal|Final Energy|Transport|other|NA|Fossil|Moving Avg"
[24] "Price|Marginal|Final Energy|Transport|other|NA|Moving Avg"

My suspicion was that in these lines, fegat = "Gases" is missing, but since for example Price|Marginal|Final Energy|Transport|Gases is already reported (by fegas?), this may lead to duplicates, I'm not sure :)

So maybe you have a look first.

johannah-pik commented 1 year ago

Hi Oliver, I don't really get your point. It is also not code, that was produced by us.. Maybe you could flag that in the REMIND channel and ask who is the expert on this?

orichters commented 1 year ago

All right, I discuss it with Renato…

johannah-pik commented 1 year ago

Sorry, that I cannot really help out here.. hope you find a solution fast! And let us know if the root of the problem seems to be in the transport sector

jmuessel commented 1 year ago

I have one idea: maybe it has sth to do with the IEA data. I will check this and potentially ask Falk about it. If I don't find sth on this rout, than I don't know what to do next - especially, because I don't know remind2 very well

orichters commented 1 year ago

We will fix that in #402 by adding fegat to the list there…