iwfm.iwfm_nearest_nodes

iwfm.iwfm_nearest_nodes(filename, node_set)[source]

Read a point file, calculate the nearest node and distance for each point, and write the results to the output file.

Parameters:
  • out_file (str) – output file name base

  • node_set (list) – node IDs and x,y locations

Return type:

number of points processed