You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In IIASA Projects like ScenarioMIP there are unitless variables, for example Terrestrial Biodiversity|Shannon Crop Diversity Index. Internal checks like checkVarNames require a unit for variable and piam_variable.
The current solution (#405) is resolving the conflict by adding project-specific exceptions to checkVarNames, but this might not be elegant once more projects require such exceptions.
Alternative solutions could be
convince IIASA to not accept empty units and introduce unitless for this purpose (Laurin will ask)
internally use a reserved word (e.g. unitless in our mappings) to satisfy our internal checks, but adjust generateIIASASubmission to not write a unit into the submission to also satisfy IIASA's unit checks
just stick with the current solution.
The text was updated successfully, but these errors were encountered:
@orichters Let us know if you have encountered this problem before and if not, which solution you'd prefer.
fbenke-pik
changed the title
Consider better support for unitless variables in IIASA Projects
Improve support for unitless variables in IIASA Projects
Nov 20, 2024
In IIASA Projects like ScenarioMIP there are unitless variables, for example
Terrestrial Biodiversity|Shannon Crop Diversity Index
. Internal checks likecheckVarNames
require a unit forvariable
andpiam_variable
.The current solution (#405) is resolving the conflict by adding project-specific exceptions to
checkVarNames
, but this might not be elegant once more projects require such exceptions.Alternative solutions could be
unitless
for this purpose (Laurin will ask)unitless
in our mappings) to satisfy our internal checks, but adjustgenerateIIASASubmission
to not write a unit into the submission to also satisfy IIASA's unit checksThe text was updated successfully, but these errors were encountered: