cdms2.fvariable:FileVariable

FileVariable.createattribute(self, name, value)

Create an attribute and set its name to value.