code: def _get_min_distance_to_sub_trench(lons, lats):
      
      trench = _construct_surface(SUB_TRENCH_LONS, SUB_TRENCH_LATS, 0., 10.)
      sites = Mesh(lons, lats, None)
      return np.abs(trench.get_rx_distance(sites))
docs: Compute and return minimum distance between subduction trench
      and points specified by 'lon' and 'lat'
  
      The method creates an instance of
      :class:`openquake.hazardlib.geo.SimpleFaultSurface` to model the subduction
      trench. The surface is assumed vertical and extending from 0 to 10 km
      depth.
      The 10 km depth value is arbitrary given that distance calculation depend
      only on top edge depth. The method calls then
      :meth:`openquake.hazardlib.geo.base.BaseSurface.get_rx_distance`
      and return its absolute value.