def __del__(self):
    'Destructor; called when CDF object is destroyed.\n\n        Close CDF file if there is still a valid handle.\n        .. note::\n            To avoid data loss, explicitly call :py:meth:`pycdf.CDF.close` \n            or :py:meth:`pycdf.CDF.save`.\n        '
    if self._opened:
        self.close()
Destructor; called when CDF object is destroyed.

Close CDF file if there is still a valid handle.
.. note::
    To avoid data loss, explicitly call :py:meth:`pycdf.CDF.close` 
    or :py:meth:`pycdf.CDF.save`.
def __del__(self):
    'Destructor; called when CDF object is destroyed.\n\n        Close CDF file if there is still a valid handle.\n        .. note::\n            To avoid data loss, explicitly call :py:meth:`pycdf.CDF.close` \n            or :py:meth:`pycdf.CDF.save`.\n        '
    if self._opened:
        self.close()