Keywords to data ingestion in CDAT
![]() |
![]() |
![]() | |
| Contents | Previous | Next |
Goal: Learn about keywords to data ingestion in CDAT.
Some important keywords for data ingestion (cdms manual page 103)
squeeze=0/1 # deletes dimensions of length 1
order=‘…zyxt(mydim)…’ # Reorders the data
cdms selectors - a specification of a region of data to be selected,
predefined in cdutils (cdms manual page 104)
from cdms.selectors import SelectorOther important selector keywords (cdms manual page 104)
sel = Selector(time=(’1979-1-1’,’1979-2-1’),level=1000.)
x1 = v1(sel) # equivalent to x1 = f('varid', sel)
x2 = v2(sel)
- required - Require that the axis IDs be present. value = List of axis identifiers.
- raw - Return a masked array; 0: return a transient variable (default); =1: return a masked array.
- grid - Regrid the result to the grid. value = Grid object.
![]() |
![]() |
![]() | |
| Contents | Previous | Next |


