@staticmethod
def ndvi_calc(img, scale_factor=10000):
    """ Normalized difference vegetation index"""
    return img.normalizedDifference(['NIR', 'RED']).select([0], ['NDVI']
        ).multiply(scale_factor).toInt16()
