In the REMIND reporting, if the reference whose structure some magpie object should match is NULL, then that magpie object is not going to be used down the line (since we use R variables being NULL as an indicator for the GAMS model configuration).
Just returning x in that case removes tedious tests and potential errors.
In the REMIND reporting, if the reference whose structure some magpie object should match is
NULL
, then that magpie object is not going to be used down the line (since we use R variables beingNULL
as an indicator for the GAMS model configuration). Just returningx
in that case removes tedious tests and potential errors.