def addDataDocuments(self, scidata_pid_list, scimeta_pid=None):
        """Add Science Data object(s)

        Args:
          scidata_pid_list : list of str
            List of one or more PIDs of Science Data objects

          scimeta_pid: str
            PID of a Science Metadata object that documents the Science Data objects.

        """
        mpids = self.getAggregatedScienceMetadataPids()
        if scimeta_pid is None:
            if len(mpids) > 1:
                raise ValueError(
                    "No metadata PID specified and more than one choice available."
                )
            scimeta_pid = mpids[0]
        else:
            if scimeta_pid not in mpids:
                self.addMetadataDocument(scimeta_pid)

        for dpid in scidata_pid_list:
            self.addResource(dpid)
            self.setDocumentedBy(dpid, scimeta_pid)
            self.setDocuments(scimeta_pid, dpid)