code: def point_image_value(image, xy, scale=1):
      
      return getinfo(ee.Image(image).reduceRegion(
          reducer=ee.Reducer.first(), geometry=ee.Geometry.Point(xy),
          scale=scale))
docs: Extract the output value from a calculation at a point