docs: def __write_top(self, filename_txt):
          """
          Write the top section of the txt file.
          :param int section_num: Section number
          :return none:
          """
          logger_lpd_noaa.info("writing section: {}".format("top"))
          self.__create_blanks("Top", self.noaa_data_sorted["Top"])
  
          # Start writing the NOAA file section by section, starting at the very top of the template.
          self.noaa_txt += "# {}".format(self.noaa_data_sorted["Top"]['Study_Name'])
          self.__write_template_top()
          # We don't know what the full online resource path will be yet, so leave the base path only
          self.__write_k_v("Online_Resource", "{}/{}".format(self.wds_url, filename_txt), top=True)
          self.__write_k_v("Online_Resource_Description", " This file.  NOAA WDS Paleo formatted metadata and data for version {} of this dataset.".format(self.version), indent=True)
          self.__write_k_v("Online_Resource", "{}".format(self.lpd_file_url), top=True)
          self.__write_k_v("Online_Resource_Description", " Linked Paleo Data (LiPD) formatted file containing the same metadata and data as this file, for version {} of this dataset.".format(self.version), indent=True)
          self.__write_k_v("Original_Source_URL", self.noaa_data_sorted["Top"]['Original_Source_URL'], top=True)
          self.noaa_txt += "\n# Description/Documentation lines begin with #\n# Data lines have no #\n#"
          self.__write_k_v("Archive", self.noaa_data_sorted["Top"]['Archive'])
          self.__write_k_v("Parameter_Keywords", self.noaa_data_sorted["Top"]['Parameter_Keywords'])
  
          # get the doi from the pub section of self.steps_dict[6]
          # doi = self.__get_doi()
          self.__write_k_v("Dataset_DOI",  ', '.join(self.doi), False, True, False, False)
          # self.__write_k_v("Parameter_Keywords", self.steps_dict[section_num]['parameterKeywords'])
          self.__write_divider()
          logger_lpd_noaa.info("exit write_top")
          return