In the NOAA GFS data files they are doing something neat to get better compression. They are zeroing out a bunch of bits they don't care about in the float.
For this to work, all we need to know is the number of bits. So we could have:
nc_def_var_smoothing(ncid, varid, nbits);
to turn this on.
For some code from Jeff Whitaker see #1543. (They call this "quantizing" and maybe that's a better name. I'm not sure if "smoothing" is correct.)
This is part of #1545
In the NOAA GFS data files they are doing something neat to get better compression. They are zeroing out a bunch of bits they don't care about in the float.
For this to work, all we need to know is the number of bits. So we could have:
nc_def_var_smoothing(ncid, varid, nbits);to turn this on.
For some code from Jeff Whitaker see #1543. (They call this "quantizing" and maybe that's a better name. I'm not sure if "smoothing" is correct.)
This is part of #1545