it should be
Code: Select all
        case {netcdf.getConstant('nc_int'),                       ...
              netcdf.getConstant('nc_short'),                           ...
              netcdf.getConstant('nc_byte')}
              f = double(f).*scale+offset;viewtopic.php?f=23&t=4677