PURPOSE 
NJ_TIME - Get entire time vector (DATENUM format) for variable from any CF-compliant file
SYNOPSIS 
function result=nj_time(ncRef,var,timeIndex)
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.
- getGeoGridVar mDataset/getGeoGridVar - Get variable into a GeoGrid if it has a Georeferencing coordinate system.
- getVar mDataset/getVar - Retrieves a matlab variable object.
- getTimes mGridCoordinates/getTimes - Get time(s) in DATENUM format
- getTimes mVar/getTimes - Get time(s) in DATENUM format
See demos using function nj_time:
|