code: def append(self, station):
          
          rec = station._pack(self)
          with self:
              _libtcd.add_tide_record(rec, self._header)
              return self._header.number_of_records - 1
docs: Append station to database.
  
          Returns the index of the appended station.