Problems passing an array to a function for 2d interpolation

Hmmm, this is probably what I need to look up the comfort level given the temperature and humidity, where the comfort level is just Red, Blue, Yellow or Green as here.