cdms2.variable:DatasetVariable

DatasetVariable.setattribute(self, name, value)

Set the attribute name to value.