def close(self):
    '\n        Closes the CDF file\n\n        Although called on object destruction (:meth:`~CDF.__del__`),\n        to ensure all data are saved, the user should explicitly call\n        :meth:`~CDF.close` or :meth:`~CDF.save`.\n\n        Raises\n        ======\n        CDFError : if CDF library reports an error\n\n        Warns\n        =====\n        CDFWarning : if CDF library reports a warning\n        '
    self._call(const.CLOSE_, const.CDF_)
    self._opened = False
Closes the CDF file

Although called on object destruction (:meth:`~CDF.__del__`),
to ensure all data are saved, the user should explicitly call
:meth:`~CDF.close` or :meth:`~CDF.save`.

Raises
======
CDFError : if CDF library reports an error

Warns
=====
CDFWarning : if CDF library reports a warning
def close(self):
    '\n        Closes the CDF file\n\n        Although called on object destruction (:meth:`~CDF.__del__`),\n        to ensure all data are saved, the user should explicitly call\n        :meth:`~CDF.close` or :meth:`~CDF.save`.\n\n        Raises\n        ======\n        CDFError : if CDF library reports an error\n\n        Warns\n        =====\n        CDFWarning : if CDF library reports a warning\n        '
    self._call(const.CLOSE_, const.CDF_)
    self._opened = False