@staticmethod
def band_with_properties(img, band=None):
    """
        Method to select band(s) from an image and
        copy properties from the ee.Image object to the output
        :param img: ee.Image object
        :param band: List of band indices or names
        """
    if band is None:
        band = [0]
    out_img = img.select(band).copyProperties(img)
    return out_img
