PURPOSE 
NJ_GRID_VARGET - Get gridded variable data and associated grid coordinates
SYNOPSIS 
function [data, grid]=nj_grid_varget(ncRef,var,start, count, stride)
DESCRIPTION 
CROSS-REFERENCE INFORMATION 
This function makes following njTBX API calls:
- mDataset mDataset class constructor - opens a netcdf file and creates a grid or netcdf mDataset object.
- getVar mDataset/getVar - Retrieves a matlab variable object.
- getGeoGridVar mDataset/getGeoGridVar - Get variable into a GeoGrid if it has a Georeferencing coordinate system.
- getData mGeoGridVar/getData - get the 3D volume data
- getGrid mGeoGridVar/getGrid - Get grid coordinate and time axes
- subsetGeoGridVar mGeoGridVar/subsetGeoGridVar - subset gridded variable based on start,count and stride.
See demos using function nj_grid_varget:
|