I am converting some NetCDF files from Float32 to either 16bit or 8bit to safe space on a server. Since I Originally created these NetCDF using GeoTIFF´s this is where I apply the conversion before adding them into a new NetCDF file. This works without any problem.
The issue I have is that I need to add a scalefactor and offset using the ncatted unidata command. As far as I understand to add scale and offset information the following commands are used:
ncatted -O scale_factor,Variable,c,f,Value foo.nc ncatted -O add_offset,Variable,c,f,Value foo.nc
However it just shows me the help or cheatsheet when I run it.
Am I missing something?