docs: def __write_pub(self):
          """
          Write pub section. There may be multiple, so write a generic section for each one.
          :return none:
          """
          try:
              self.__reorganize_author()
              # Check all publications, and remove possible duplicate Full_Citations
              self.__rm_duplicate_citation_1()
              if not self.noaa_data_sorted["Publication"]:
                  self.noaa_data_sorted["Publication"].append({"pubYear": ""})
              for idx, pub in enumerate(self.noaa_data_sorted["Publication"]):
                  logger_lpd_noaa.info("publication: {}".format(idx))
                  # Do not write out Data Citation publications. Check, and skip if necessary
                  is_data_citation = self.__get_pub_type(pub)
                  if not is_data_citation or is_data_citation and len(self.noaa_data_sorted["Publication"]) == 1:
                      pub = self.__convert_keys_1("Publication", pub)
                      self.__write_generic('Publication', pub)
          except KeyError:
              logger_lpd_noaa.info("write_pub: KeyError: pub section not found")
          except TypeError:
              logger_lpd_noaa.debug("write_pub: TypeError: pub not a list type")
  
          return