cdms2.avariable:AbstractVariable

AbstractVariable.createattribute(name, value)

Create an attribute and set its name to value.