def set_backward(self, backward=True):
    '\n        Set backward compatibility mode for new CDFs\n\n        Unless backward compatible mode is set, CDF files created by\n        the version 3 library can not be read by V2.\n\n        Parameters\n        ==========\n        backward : boolean\n            Set backward compatible mode if True; clear it if False.\n\n        Raises\n        ======\n        ValueError : if backward=False and underlying CDF library is V2\n        '
    if (self.version[0] < 3):
        if (not backward):
            raise ValueError('Cannot disable backward-compatible mode for CDF version 2.')
        else:
            return
    self._library.CDFsetFileBackward((const.BACKWARDFILEon if backward else const.BACKWARDFILEoff))
Set backward compatibility mode for new CDFs

Unless backward compatible mode is set, CDF files created by
the version 3 library can not be read by V2.

Parameters
==========
backward : boolean
    Set backward compatible mode if True; clear it if False.

Raises
======
ValueError : if backward=False and underlying CDF library is V2
def set_backward(self, backward=True):
    '\n        Set backward compatibility mode for new CDFs\n\n        Unless backward compatible mode is set, CDF files created by\n        the version 3 library can not be read by V2.\n\n        Parameters\n        ==========\n        backward : boolean\n            Set backward compatible mode if True; clear it if False.\n\n        Raises\n        ======\n        ValueError : if backward=False and underlying CDF library is V2\n        '
    if (self.version[0] < 3):
        if (not backward):
            raise ValueError('Cannot disable backward-compatible mode for CDF version 2.')
        else:
            return
    self._library.CDFsetFileBackward((const.BACKWARDFILEon if backward else const.BACKWARDFILEoff))