docs: def __write_variables_1(self, table):
          """
          Retrieve variables from data table(s) and write to Variables section of txt file.
          :param dict table: Paleodata
          :return none:
          """
          logger_lpd_noaa.info("writing section: {}".format("Variables"))
  
          # Write the template lines first
          self.__write_template_variable()
  
          try:
              self.noaa_txt += '#'
  
              # Special NOAA Request: Write the "year" column first always, if available
              # write year data first, when available
              for name, data in table["columns"].items():
                  if name == "year":
                      # write first line in variables section here
                      self.__write_variables_2(data)
                      # leave the loop, because this is all we needed to accomplish
                      break
  
              # all other cases
              for name, data in table["columns"].items():
                  # we already wrote out the year column, so don't duplicate.
                  if name != "year":
                      self.__write_variables_2(data)
  
          except KeyError as e:
              logger_lpd_noaa.warn("write_variables: KeyError: {} not found".format(e))
          return