How can add variable name and units to NetCDF attribute in NCO.
dimensions:
lat = UNLIMITED ; // (34 currently)
lon = 42 ;
time = 360 ;
float precip(lat,lon,time) ;
precip:_FillValue = 1.e+20f ;
precip:missing_value = 1.e+20f ;
precip:cell_methods = "time: sum" ;
C:\nco>ncatted -a units,'precip',c,c,'mm day-1' nclimgrid_lowres_prcp_ncpdq5.nc ncatted: overwrite nclimgrid_lowres_prcp_ncpdq5.nc (y/n)? y The system cannot find the path specified. ncatted: ERROR File contains no variables or groups that match name 'precip' so attribute units cannot be changed