ncatt_put function

Put an attribute into a netCDF file