Ncarray Toolkit - Functions


The following functions are available:

ncArray

ncArrayCreate a ncArray that can be accessed as a normal array.
ncCatArrayCreate an array that represent a concatenated NetCDF variables.
nccoordGet coordinates of the variable varname in the netcdf file called filename.
nctimeunitsParse netCDF time unit.
ncreadtimeRead a time variable as serial day number.
cached_decompressDecompress a file using a cache.
@ncArray/coordGet a array of structures with the coordinate of ncArray A.
@ncArray/subsasgnPerform the subscripted assignment operation according to the subscript speci...
@ncArray/subsrefPerform the subscripted element selection operation according to the subscrip...

ncBaseArray

@BaseArray/BaseArrayCreate a BaseArray of size SZ.
@BaseArray/endReturn last index along a dimension.
@BaseArray/fullMake full (dense) array.
@BaseArray/isnumericTest if array is numeric.
@BaseArray/maxCompute the maximum along dimension DIM.
@BaseArray/meanCompute the mean along dimension DIM.
@BaseArray/minCompute the minimum along dimension DIM.
@BaseArray/momentCompute the central moment of the given order along dimension DIM.
@BaseArray/numelNumber of elements.
@BaseArray/prodCompute the product of all elements along dimension DIM.
@BaseArray/reduceReduce array using callback fundtions.
@BaseArray/sizeSize of array
@BaseArray/stdCompute the standard deviation.
@BaseArray/sumCompute sum along a dimension.
@BaseArray/sumsqCompute the sum squared.
@BaseArray/varCompute the variance along dimension DIM.

Test script

test_ncarrayTest ncBaseArray, ncCatArray and ncArray.