error message : conflicting values for variable 'commodity_units'

107 views
Skip to first unread message

Pedro Gerber Machado

unread,
Oct 20, 2021, 7:56:58 AM10/20/21
to MUSE

GlobalCommodities: “xarray.core.merge.MergeError: conflicting values for variable 'commodity_units' on objects to be combined. You can skip this check by specifying compat='override'.” 

Pedro Gerber Machado

unread,
Oct 20, 2021, 7:57:17 AM10/20/21
to MUSE

The units of “CommIn” “CommOut” and “GlobalCommodities” files must be the same. Which in case means that the “numerator” unit in CommIn and CommOut must be the same unit as the “unit” column in the GlobalCommodities file. 

Alexander Kell

unread,
Jan 14, 2022, 8:57:55 AM1/14/22
to MUSE
Thanks Pedro; this is very helpful. Also, it must be ensured that the units have the same upper or lower cases for those 3 files (CommIn, CommOut and GlobalCommodities files)
Reply all
Reply to author
Forward
0 new messages