variable

DatasetVariable.astype(tc)

return self as array of given type.

DatasetVariable.createattribute(name, value)

Create an attribute and set its name to value.

DatasetVariable.crossSectionRegrid(newLevel, …)

Return the variable regridded to new pressure levels and latitudes.

DatasetVariable.decode(ar)

Decode compressed data.

DatasetVariable.deleteattribute(name)

Delete the named attribute.

DatasetVariable.expertPaths(slist)

Expert Paths

DatasetVariable.generateGridkey(convention, …)

Determine if the variable is gridded.

DatasetVariable.generateRectGridkey(lat, lon)

Determine if the variable is gridded, rectilinear.

DatasetVariable.genMatch(axis, interval, …)

Helper function for expertPaths.

DatasetVariable.getattribute(name)

Get the attribute name.

DatasetVariable.getAxisIds()

Get a list of axis identifiers.

DatasetVariable.getAxisIndex(axis_spec)

Get the index of the axis specificed by axis_spec.

DatasetVariable.getAxisListIndex([axes, …])

Get Axis List Index

DatasetVariable.getAxisList([axes, omit, order])

Get the list of axis objects

DatasetVariable.getConvention()

Get the metadata convention associated with this object.

DatasetVariable.getdimattribute(dim, field)

Get the attribute named field from the dim’th dimension.

DatasetVariable.getFilePath(matchnames, template)

Lookup or generate the file path, depending on whether a filemap or template is present.

DatasetVariable.getForecastTime()

Get the first forecast time dimension.

DatasetVariable.getGridIndices()

Get Grid Indices

DatasetVariable.getLatitude()

Get the first latitude dimension.

DatasetVariable.getLevel()

Get the first vertical level dimension in the domain.

DatasetVariable.getLongitude()

Get the first longitude dimension.

DatasetVariable.getMissing([asarray])

Get Missing

DatasetVariable.getOrder([ids])

Get Order

DatasetVariable.getPartition(axis)

Get the partition attribute for this variable, axis.

DatasetVariable.getRegion(*specs, **keys)

Read a region of data.

DatasetVariable.getSlice(*specs, **keys)

getSlice takes arguments of the following forms and produces a return array.

DatasetVariable.getTime()

Get the first time dimension.

DatasetVariable.getValue([squeeze])

Return the entire set of values.

DatasetVariable.hasCellData()

If any of the variable’s axis has explicit bounds, we have cell data otherwise we have point data.

DatasetVariable.initDomain(axisdict, griddict)

Must be called by whoever made this Variable to set up axes, grids.

DatasetVariable.isEncoded()

True if self is represented as packed data.

DatasetVariable.listall([all])

Get list of info about this slab.

DatasetVariable.listattributes()

Return a list of attribute names.

DatasetVariable.listdimattributes(dim)

List the legal axis field names.

DatasetVariable.listdimnames()

Return a list of the names of the dimensions.

DatasetVariable.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.

DatasetVariable.matchPattern(pattern, …)

Match for a pattern in a string-valued attribute.

DatasetVariable.pressureRegrid(newLevel[, …])

Return the variable regridded to new pressure levels.

DatasetVariable.regrid(togrid[, missing, …])

return self regridded to the new grid.

DatasetVariable.reorder(order)

Reorder per the specification order.

DatasetVariable.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.

DatasetVariable.searchPattern(pattern, …)

Search for a pattern in a string-valued attribute.

DatasetVariable.searchPredicate(predicate, tag)

Apply a truth-valued predicate.

DatasetVariable.select(*args, **kwargs)

Selection of a subregion using selectors.

DatasetVariable.setattribute(name, value)

Set the attribute name to value.

DatasetVariable.setMissing(value)

Set the missing value.

DatasetVariable.showdim()

Show the dimension attributes and values.

DatasetVariable.size()

Number of elements.

DatasetVariable.specs2slices(speclist[, force])

Create an equivalent list of slices from an index specification.

getPathFromTemplate(template, matchnames)

lenSlice(aSlice)

Return the number of values associated with a slice

reverseSlice(s, size)

For ‘reversed’ slices (slices with negative stride), return an equivalent slice with positive step.

sliceIntersect(aSlice, interval)

slicePartition(aSlice, partition)

timeindex(value, units, basetime, delta, …)

Calculate (t - basetime)/delu