Commit 1c05a377 authored by Pierre Cazenave's avatar Pierre Cazenave

Update the comments adjacent to the scale_offset and add_factor section to...

Update the comments adjacent to the scale_offset and add_factor section to reflect what is actually happening now
parent bf03c200
......@@ -96,7 +96,8 @@ for var=1:numel(varlist)
% unpacked value = add_offset + ((packed value)*scale_factor)
% (from
% http://www.ecmwf.int/products/data/archive/data_faq.html#netcdfintegers).
% Keep them as singles for now to avoid horrible rounding errors.
% ERA wind scale_factor and add_offset are doubles (the NCEP ones
% are singles).
scale_factor = netcdf.getAtt(ncERA,varid_ERA,'scale_factor','double');
add_offset = netcdf.getAtt(ncERA,varid_ERA,'add_offset','double');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment