code: def latlon_to_grid(latlon):
      '''convert to grid reference'''
      from MAVProxy.modules.lib.ANUGA import redfearn
      (zone, easting, northing) = redfearn.redfearn(latlon[0], latlon[1])
      if latlon[0] < 0:
          hemisphere = 'S'
      else:
          hemisphere = 'N'
      return UTMGrid(zone, easting, northing, hemisphere=hemispheref latlon_to_grid(latlon):
      '''convert to grid reference'''
      from MAVProxy.modules.lib.ANUGA import redfearn
      (zone, easting, northing) = redfearn.redfearn(latlon[0], latlon[1])
      if latlon[0] < 0:
          hemisphere = 'S'
      else:
          hemisphere = 'N'
      return UTMGrid(zone, easting, northing, hemisphere=hemisphere)
docs: convert to grid reference