module wntr.morph.node

convert_node_coordinates_to_UTM(wn, utm_map, return_copy=True)[source]#

Convert node coordinates to UTM coordinates

  • wn (wntr WaterNetworkModel) – Water network model

  • utm_map (dictionary) – Dictionary containing two node names and their x, y coordinates in UTM easting, northing in the format {‘node name 1’: (easting, northing), ‘node name 2’: (easting, northing)}

  • return_copy (bool, optional) – If True, modify and return a copy of the WaterNetworkModel object. If False, modify and return the original WaterNetworkModel object.


Water network model with updated node coordinates (easting, northing)

Return type:

wntr WaterNetworkModel