code: def terrain_data_encode(self, lat, lon, grid_spacing, gridbit, data):
                  '''
                  Terrain data sent from GCS. The lat/lon and grid_spacing must be the
                  same as a lat/lon from a TERRAIN_REQUEST
  
                  lat                       : Latitude of SW corner of first grid (degrees *10^7) (int32_t)
                  lon                       : Longitude of SW corner of first grid (in degrees *10^7) (int32_t)
                  grid_spacing              : Grid spacing in meters (uint16_t)
                  gridbit                   : bit within the terrain request mask (uint8_t)
                  data                      : Terrain data in meters AMSL (int16_t)
  
                  '''
                  return MAVLink_terrain_data_message(lat, lon, grid_spacing, gridbit, dataf terrain_data_encode(self, lat, lon, grid_spacing, gridbit, data):
                  '''
                  Terrain data sent from GCS. The lat/lon and grid_spacing must be the
                  same as a lat/lon from a TERRAIN_REQUEST
  
                  lat                       : Latitude of SW corner of first grid (degrees *10^7) (int32_t)
                  lon                       : Longitude of SW corner of first grid (in degrees *10^7) (int32_t)
                  grid_spacing              : Grid spacing in meters (uint16_t)
                  gridbit                   : bit within the terrain request mask (uint8_t)
                  data                      : Terrain data in meters AMSL (int16_t)
  
                  '''
                  return MAVLink_terrain_data_message(lat, lon, grid_spacing, gridbit, data)
docs: Terrain data sent from GCS. The lat/lon and grid_spacing must be the
                  same as a lat/lon from a TERRAIN_REQUEST
  
                  lat                       : Latitude of SW corner of first grid (degrees *10^7) (int32_t)
                  lon                       : Longitude of SW corner of first grid (in degrees *10^7) (int32_t)
                  grid_spacing              : Grid spacing in meters (uint16_t)
                  gridbit                   : bit within the terrain request mask (uint8_t)
                  data                      : Terrain data in meters AMSL (int16_t)