dataset

asVariable(s[, writeable])

As Variable

createDataset(path[, template])

Create a dataset.

getMpiRank()

Return number of processor available.

getMpiSize()

Return MPI size.

getNetcdf4Flag()

Get Net CD 4 Flag Returns ——- NetCDF4 flag value.

getNetcdfClassicFlag()

Get Net CDF Classic Flag

getNetcdfDeflateFlag()

Get Net CDF Deflate Flag

getNetcdfDeflateLevelFlag()

Get Net CDF Deflate Level Flag

getNetcdfShuffleFlag()

Get Net CDF Shuffle Flag

getNetcdfUseNCSwitchModeFlag()

Get current netCDF define mode.

getNetcdfUseParallelFlag()

Get NetCDF UseParallel flag value.

isOverlapVector(vec1, vec2[, atol])

Is Overlap Vector

load(path)

loadURI(uri)

openDataset(uri[, mode, template, dods, …])

Open Dataset

parseFileMap(text)

Parse a CDMS filemap.

parseIndexList(text)

Parse a string of the form [i,j,k,l,…,path].

parselist(text, f)

Parse a string of the form [A, A, …].

parseName(text)

parseVarMap(text)

Parse a string of the form [ namelist, slicelist ]

setCompressionWarnings([value])

Turn on/off the warnings for compression.

setNetcdf4Flag(value)

Enable netCDF4 (HDF5) mode in libnetcdf.

setNetcdfClassicFlag(value)

Enable netCDF3 (classic) mode in libnetcdf.

setNetcdfDeflateFlag(value)

Enable/Disable NetCDF deflattion.

setNetcdfDeflateLevelFlag(value)

Sets NetCDF deflate level flag value

setNetcdfShuffleFlag(value)

Enable/Disable NetCDF shuffle.

setNetcdfUseNCSwitchModeFlag(value)

Tells cdms2 to switch constantly between netcdf define/write modes.

setNetcdfUseParallelFlag(value)

Enable/Disable NetCDF MPI I/O (Paralllelism).

urlparse(url[, scheme, allow_fragments])

Parse a URL into 6 components: <scheme>://<netloc>/<path>;<params>?<query>#<fragment> Return a 6-tuple: (scheme, netloc, path, params, query, fragment).

urlunparse(components)

Put a parsed URL back together again.

useNetcdf3()

Turns off (0) NetCDF flags for shuffle/cuDa/deflatelevel Output files are generated as NetCDF3 Classic after that

CdmsFile.cleardefault()

Clear the default variable name.

CdmsFile.copyAxis(axis[, newname, …])

Copy axis description and data from another axis.

CdmsFile.copyGrid(grid[, newname])

Create an implicit rectilinear grid.

CdmsFile.createAxis(name, ar[, unlimited])

Create an axis.

CdmsFile.createRectGrid(id, lat, lon, order)

Create an implicit rectilinear grid.

CdmsFile.createVariableCopy(var[, id, …])

Define a new variable, with the same axes and attributes as in <var>.

CdmsFile.createVariable(name, datatype, …)

Create a variable.

CdmsFile.createVirtualAxis(name, axislen)

Create an axis without any associated coordinate array.

CdmsFile.default_variable(vname)

Set the default variable name.

CdmsFile.dimensionarray(dname[, vname])

Values of the dimension named dname.

CdmsFile.dimensionobject(dname[, vname])

CDMS axis object for the dimension named dname.

CdmsFile.getattribute(vname, attribute)

Get the value of attribute for variable vname

CdmsFile.getAxis(id)

Get the axis object with the given id.

CdmsFile.getBoundsAxis(n[, boundid])

Get a bounds axis of length n.

CdmsFile.getdimensionunits(dname[, vname])

Get the units for the given dimension.

CdmsFile.getglobal(attribute)

Get the value of the global attribute.

CdmsFile.getGrid(id)

Get the grid object with the given id.

CdmsFile.getslab(vname, *args, **keys)

Get Slab

CdmsFile.getVariable(id)

Get the variable object with the given id.

CdmsFile.getVariables([spatial])

Get a list of variable objects.

CdmsFile.listall([vname, all])

Get info about data from the file.

CdmsFile.listattribute([vname])

Get attributes of data from the file.

CdmsFile.listdimension([vname])

List Dimension

CdmsFile.listglobal()

List Global

CdmsFile.listvariable()

List Variable

CdmsFile.listvariables()

List Variable

CdmsFile.matchone(pattern, attname)

Search if the attribute with name attname is a string attribute which matches the compiled regular expression pattern, or if attname is None and pattern matches at least one string attribute.

CdmsFile.matchPattern(pattern, attribute, tag)

Match for a pattern in a string-valued attribute.

CdmsFile.readScripGrid([whichGrid, checkGrid])

Read a SCRIP curvilinear or generic grid from the dataset.

CdmsFile.searchone(pattern, attname)

Search if the attribute with name attname is a string attribute which contains the compiled regular expression pattern, or if attname is None and pattern matches at least one string attribute.

CdmsFile.searchPattern(pattern, attribute, tag)

Search for a pattern in a string-valued attribute.

CdmsFile.searchPredicate(predicate, tag)

Apply a truth-valued predicate.

CdmsFile.showall([vname, all, device])

Show a full description of the variable.

CdmsFile.showattribute([vname, device])

Show the attributes of vname.

CdmsFile.showdimension([vname, device])

Show the dimension names associated with a variable.

CdmsFile.showglobal([device])

Show the global attributes in the file.

CdmsFile.showvariable([device])

Show the variables in the file.

CdmsFile.sync()

Syncs the file on disk.

CdmsFile.write_it_yourself(obj)

Tell obj to write itself to self (already open for writing), using its writeg method (AbstractCurveGrid has such a method, for example).

CdmsFile.write(var[, attributes, axes, …])

Write var to the file.

Dataset.cleardefault()

Clear the default variable name.

Dataset.default_variable(vname)

Set the default variable name.

Dataset.dimensionarray(dname[, vname])

Values of the dimension named dname.

Dataset.dimensionobject(dname[, vname])

CDMS axis object for the dimension named dname.

Dataset.getattribute(vname, attribute)

Get the value of attribute for variable vname

Dataset.getAxis(id)

Get the axis object with the given id.

Dataset.getConvention()

Get the metadata convention associated with this dataset or file.

Dataset.getdimensionunits(dname[, vname])

Get the units for the given dimension.

Dataset.getglobal(attribute)

Get the value of the global attribute.

Dataset.getGrid(id)

Get the grid object with the given id.

Dataset.getLogicalCollectionDN([base])

Return the logical collection distinguished name of this dataset.

Dataset.getslab(vname, *args, **keys)

Get Slab

Dataset.getVariable(id)

Get the variable object with the given id.

Dataset.getVariables([spatial])

Get a list of variable objects.

Dataset.listall([vname, all])

Get info about data from the file.

Dataset.listattribute([vname])

Get attributes of data from the file.

Dataset.listdimension([vname])

List Dimension

Dataset.listglobal()

List Global

Dataset.listvariable()

List Variable

Dataset.listvariables()

List Variable

Dataset.matchone(pattern, attname)

Search if the attribute with name attname is a string attribute which matches the compiled regular expression pattern, or if attname is None and pattern matches at least one string attribute.

Dataset.readScripGrid([whichGrid, checkGrid])

Read a SCRIP curvilinear or generic grid from the dataset.

Dataset.searchone(pattern, attname)

Search if the attribute with name attname is a string attribute which contains the compiled regular expression pattern, or if attname is None and pattern matches at least one string attribute.

Dataset.showall([vname, all, device])

Show a full description of the variable.

Dataset.showattribute([vname, device])

Show the attributes of vname.

Dataset.showdimension([vname, device])

Show the dimension names associated with a variable.

Dataset.showglobal([device])

Show the global attributes in the file.

Dataset.showvariable([device])

Show the variables in the file.