Source code for esm_runscripts.methods
import os
[docs]def set_global_attr(fname, attribute, value):
os.system("ncatted -a "+attribute+",global,o,l,"+value+" "+fname)
import os
[docs]def set_global_attr(fname, attribute, value):
os.system("ncatted -a "+attribute+",global,o,l,"+value+" "+fname)