cdms2.fvariable:FileVariable

FileVariable.createattribute(name, value)

Create an attribute and set its name to value.