njtbx-icon
Netcdf-Java Toolbox
previous Method getTimes
Class mVar Next

 
 
Method getVerticalAxis

PURPOSE ^

mGridCoordinates/getVerticalAxis - get vertical coordinate data

SYNOPSIS ^

function result = getVerticalAxis(mGridCoordinatesObj, timeIndex, vertLevel)

DESCRIPTION ^

mGridCoordinates/getVerticalAxis - get vertical coordinate data

 if 3D, get vertical coordinates for the specified timeIndex
 if no vertical transform is present, then get 1D coordinate axes.
 Specify 'verticalLevel' to retrieve data for specific level.

 Method Usage:  
   vertAxis=getVerticalAxis(mGridCoordinatesObj)
   vertAxis=getVerticalAxis(mGridCoordinatesObj, timeIndex)
   vertAxis=getVerticalAxis(mGridCoordinatesObj, timeIndex, vertLevel)
 where,  
   mGridCoordinatesObj: mGridCoordinates object. 
   timeIndex: time step for data extraction (1..n), where n=total number of time steps in a dataset.
   vertLevel: vertical level (1...m), where m=total number of vertical level.

 See also getLatAxis getLonAxis

CROSS-REFERENCE INFORMATION ^

See functions using getLatAxis:
  • nj_tslice NJ_TSLICE - Get data and coordinates from a CF-compliant file at a specific time step and level


previous Method getTimes
Class mVar Next
© 2006-2009   Mississippi State University   • License Terms   • Credits