PURPOSE 
NJ_TSLICE - Get data and coordinates from a CF-compliant file at a specific time step and level
SYNOPSIS 
function [data,grd]=nj_tslice(ncRef,var,iTime, level)
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.
- getCoordSys mGeoGridVar/getCoordSys - Get the Grid Coordinate System associated with the referenced GeoGrid
- getData mGeoGridVar/getData - get the 3D volume data
- getTimes mGridCoordinates/getTimes - Get time(s) in DATENUM format
- getVerticalAxis mGridCoordinates/getVerticalAxis - get vertical coordinate data
- getData mVar/getData - Read data from variable.
- getTimes mVar/getTimes - Get time(s) in DATENUM format
See demos using function nj_tslice:
|