code: def total_precipitable_water(img, **kwargs):
      """Palettizes images from MIMIC TPW data.
  
      This modifies the image's data so the correct colors
      can be applied to it, and then palettizes the image.
      """
      palette = kwargs["palettes"]
      palette["colors"] = tuple(map(tuple, palette["colors"]))
  
      cm = Colormap(*palette["colors"])
      img.palettize(cm)
  
label_desc: Use image node_id 2 for calling a global function with example usage: total_precipitable_water(img) without return types