cdms2.dataset:CdmsFile

CdmsFile.write_it_yourself(obj)[source]

Tell obj to write itself to self (already open for writing), using its writeg method (AbstractCurveGrid has such a method, for example).

Parameters
objobject containing writeg, writeToFile or write method.
Returns
Nothing is returned.

Notes

If writeg is not available, writeToFile will be used. If writeToFile is also not available, then self.write(obj) will be called to try to write obj as a variable.