def _from_master(self, master_path):
    'Creates a new CDF from a master CDF file\n\n        ``master_path`` is copied to ``pathname`` and opened.\n\n        Parameters\n        ==========\n        master_path : string\n            location of the master CDF file\n\n        Raises\n        ======\n        CDFError : if CDF library reports an error\n        CDFWarning : if CDF library reports a warning and interpreter\n                     is set to error on warnings.\n        .. note:\n            Not intended for direct call; pass parameters to\n            :py:class:`pycdf.CDF` constructor.\n        '
    if os.path.exists(self.pathname):
        raise CDFError(const.CDF_EXISTS)
    shutil.copy2(master_path, self.pathname)
    self._open(False)
Creates a new CDF from a master CDF file

``master_path`` is copied to ``pathname`` and opened.

Parameters
==========
master_path : string
    location of the master CDF file

Raises
======
CDFError : if CDF library reports an error
CDFWarning : if CDF library reports a warning and interpreter
             is set to error on warnings.
.. note:
    Not intended for direct call; pass parameters to
    :py:class:`pycdf.CDF` constructor.
def _from_master(self, master_path):
    'Creates a new CDF from a master CDF file\n\n        ``master_path`` is copied to ``pathname`` and opened.\n\n        Parameters\n        ==========\n        master_path : string\n            location of the master CDF file\n\n        Raises\n        ======\n        CDFError : if CDF library reports an error\n        CDFWarning : if CDF library reports a warning and interpreter\n                     is set to error on warnings.\n        .. note:\n            Not intended for direct call; pass parameters to\n            :py:class:`pycdf.CDF` constructor.\n        '
    if os.path.exists(self.pathname):
        raise CDFError(const.CDF_EXISTS)
    shutil.copy2(master_path, self.pathname)
    self._open(False)