def _open(self, readonly=True):
    'Opens the CDF file (called on init)\n\n        Will open an existing CDF file read/write.\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        '
    lib.call(const.OPEN_, const.CDF_, self.pathname, ctypes.byref(self._handle))
    self._opened = True
    if readonly:
        self.readonly(readonly)
Opens the CDF file (called on init)

Will open an existing CDF file read/write.

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 _open(self, readonly=True):
    'Opens the CDF file (called on init)\n\n        Will open an existing CDF file read/write.\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        '
    lib.call(const.OPEN_, const.CDF_, self.pathname, ctypes.byref(self._handle))
    self._opened = True
    if readonly:
        self.readonly(readonly)