cdms2.cudsinterface:cuDataset¶
-
cuDataset.
getslab
(vname, *args, **keys)[source]¶ Get Slab
- Parameters
- getslab(‘name’, arg1, arg2, ….)
- Returns
- a cdms variable containing the data.
- Arguments for each dimension can be:
: or None – selected entire dimension
Ellipsis – select entire dimensions between the ones given.
a pair of successive arguments giving an interval in world coordinates.
a cdms-style tuple of world coordinates e.g. (start, stop, ‘cc’)
- Options
- args(*tuple/*cdms2.selectors.Selector) () tuple of type (val1,val2,’cob’)
for any given dimension or cdms selector
- Keys
- squeeze(int/True/False) (0) squeezes (removes) dimensions of length 1
- order(str) (‘…’) reorder the dimensions, can use numbers or xyzt or dim names in between paranthesis
- raw(int/True/False) (0) return a numpy.ma instead of a transient variable
- grid(cdms2.grid.AbstractGrid) (None) regrid the result to the grid passed
- Input
- vname(str/None) (0) variable name
- Output
- variable(cdms2.tvariable.TransientVariable) (0) variable requested