a little bug in nc_read.m

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
mjfconan
Posts: 15
Joined: Mon Mar 03, 2014 1:57 pm
Location: SKLEC, ECNU, China

a little bug in nc_read.m

#1 Post by mjfconan » Thu Jul 12, 2018 12:41 pm

bkresning found a bug in the Matlab script "nc_read.m", line 430.
it should be

Code: Select all

        case {netcdf.getConstant('nc_int'),                       ...
              netcdf.getConstant('nc_short'),                           ...
              netcdf.getConstant('nc_byte')}
              f = double(f).*scale+offset;
the original post is in:
viewtopic.php?f=23&t=4677

Post Reply