def getStationLongitude(self, data, stationNumber): easting = float( data['locations']['station'][stationNumber]['@easting']) northing = float( data['locations']['station'][stationNumber]['@northing']) return Convert.CHtoWGSlng(easting, northing)