PURPOSE 
NJ_ATTGET - Get global and variable attributes
SYNOPSIS 
function result=nj_attget(ncRef,var,attrName)
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.
- getAttributes mDataset/getAttributes - Returns a structure with global attributes or a value for specified global attribute name.
- getAttributes mGeoGridVar/getAttributes -get attribute(s) associated with the gridded variable
- getAttributes mVar/getAttributes -get attribute(s) associated with the variable
|