`item` is used for getting the scale and nan-values, but the variable `item` has never been declared, since it comes from a loop
itemis used for getting the scale and nan-values, but the variableitemhas never been declared, since it comes from a loop