convert_node_coordinates_UTM_to_longlat#

module wntr.morph.node

convert_node_coordinates_UTM_to_longlat(wn, zone_number, zone_letter, return_copy=True)[source]#

Convert node coordinates from UTM coordinates to longitude, latitude coordinates

Parameters:
  • wn (wntr WaterNetworkModel) – Water network model

  • zone_number (int) – Zone number

  • zone_letter (string) – Zone letter

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

Returns:

Water network model with updated node coordinates (longitude, latitude)

Return type:

wntr WaterNetworkModel