Moved functions from processPixelValues.js into processRadarImage.js, and things finally work again.