njtbx-icon
Netcdf-Java Toolbox
previous Method getCoordSys
Method getGrid Next

 
 
Method getData

PURPOSE ^

mGeoGridVar/getData - get the 3D volume data

SYNOPSIS ^

function result = getData(mGeoGridVarObj, timeIndex, vertLevelIndex)

DESCRIPTION ^

mGeoGridVar/getData - get the 3D volume data  
                       for all times or particular time index. 
                       Specify 'level' to read a Y-X 'horizontal slice' at the given time                  
 Method Usage:
       data = getData(mGeoGridVarObj);
       data = getData(mGeoGridVarObj, timeIndex)
       data = getData(mGeoGridVarObj, timeIndex, vertLevelIndex) 
 Where,
       mGeoGridVarObj - mGeoGridVar object
       timeIndex - time step for data extraction (1..n), where n=total
       number of time steps in a dataset.
       vertLevelIndex - vertical level (1...m), where m=total number of vertical
       level.
 returns,
       data - matlab array

    See also mVar/getData 

CROSS-REFERENCE INFORMATION ^

See functions using getData:
  • nj_grid_varget NJ_GRID_VARGET - get variable data and associated grid coordinates from local NetCDF file, NetCDF URL or OpenDAP URL
  • nj_tslice NJ_TSLICE - Get data and coordinates from a CF-compliant file at a specific time step and level
  • nj_varget NJ_VARGET - get variable data from local NetCDF file, NetCDF URL or OpenDAP URL


previous Method getCoordSys
Method getGrid Next
© 2006-2009   Mississippi State University   • License Terms   • Credits