Netcdf Toolkit - netcdf.getVar


data = netcdf.getVar (ncid,varid)
data = netcdf.getVar (ncid,varid,start)
data = netcdf.getVar (ncid,varid,start,count)
data = netcdf.getVar (ncid,varid,start,count,stride)

Get the data from a NetCDF variable.

The data data is loaded from the variable varid of the NetCDF file ncid.

start is the start index of each dimension (0-based and defaults to a vector of zeros),

count is the number of elements of to be written along each dimension (default all elements)

stride is the sampling interval.