axis

allclose(ax1, ax2[, rtol, atol])

All close

axisMatchAxis(axes[, specifications, omit, …])

Match a list of axes following a specification or list of specificatons, and a specification or list of specifications of those axes to omit.

axisMatches(axis, specification)

Axis Matches

axisMatchIndex(axes[, specifications, omit, …])

Match a list of axes following a specification or list of specificatons, and a specification or list of specifications of those axes to omit.

concatenate(axes[, id, attributes])

Concatenate multiple axes including boundaries.

createAxis(data[, bounds, id, copy, …])

createEqualAreaAxis(nlat)

createGaussianAxis(nlat)

createUniformLatitudeAxis(startLat, nlat, …)

createUniformLongitudeAxis(startLon, nlon, …)

getAutoBounds()

isOverlapVector(vec1, vec2[, atol])

Is Overlap Vector

isSubsetVector(vec1, vec2, tol)

lookupArray(ar, value)

Lookup value in array ar.

mapLinearExt(axis, bounds, interval[, …])

Map coordinate interval to index interval, without wraparound.

mapLinearIntersection(xind, yind, iind, …)

Map Linear Intersection

reverseSlice(s, size)

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

setAutoBounds(mode)

splitSliceExt(s, size)

mf 20010330 – For a ‘wraparound’ slice, return N equivalent slices within the range 0…(N*size) N = anything

splitSlice(s, size)

For a ‘wraparound’ slice, return two equivalent slices within the range 0..size-1.

take(ax, indices)

Take elements form an array along an axis

AbstractAxis.asComponentTime([calendar])

Array version of cdtime tocomp.

AbstractAxis.asdatetime([calendar])

Array version of cdtime tocomp.

AbstractAxis.asDTGTime([calendar])

Array version of cdtime tocomp.

AbstractAxis.asRelativeTime([units])

Array version of cdtime torel.

AbstractAxis.clone(self[, copyData])

Return a copy of self as a transient axis.

AbstractAxis.getBoundsForDualGrid(dualGrid)

dualGrid changes the type of dataset from the current type to the dual.

AbstractAxis.getBounds([isGeneric])

isGeneric is a list with one boolean which says if the bounds are read from file (False) or generated (True)

AbstractAxis.getExplicitBounds()

Return None if not explicitly defined This is a way to determine if attributes are defined at cell or at point level.

AbstractAxis.info([flag, device])

Write info about axis; include dimension values and weights if flag

AbstractAxis.isVirtual()

Return true iff coordinate values are implicitly defined.

AbstractAxis.listall([all])

Get list of info about this axis.

AbstractAxis.mapIntervalExt(interval[, …])

Like mapInterval, but returns (i,j,k) where k is stride, and (i,j) is not restricted to one cycle.

AbstractAxis.mapInterval(interval[, …])

Map coordinate interval to index interval.

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

AbstractAxis.matchPattern(pattern, …)

Match for a pattern in a string-valued attribute.

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

AbstractAxis.searchPattern(pattern, …)

Search for a pattern in a string-valued attribute.

AbstractAxis.searchPredicate(predicate, tag)

Apply a truth-valued predicate.

AbstractAxis.subaxis(i, j[, k, wrap])

Create a transient axis for the index slice [i:j:k] The stride k can be positive or negative.

AbstractAxis.subAxis(i, j[, k, wrap])

Create a transient axis for the index slice [i:j:k] The stride k can be positive or negative.

AbstractAxis.toRelativeTime(units[, calendar])

Convert time axis values to another unit possibly in another calendar

Axis.asComponentTime([calendar])

Array version of cdtime tocomp.

Axis.asdatetime([calendar])

Array version of cdtime tocomp.

Axis.asDTGTime([calendar])

Array version of cdtime tocomp.

Axis.asRelativeTime([units])

Array version of cdtime torel.

Axis.clone(self[, copyData])

Return a copy of self as a transient axis.

Axis.getBoundsForDualGrid(dualGrid)

dualGrid changes the type of dataset from the current type to the dual.

Axis.getBounds([isGeneric])

If isGeneric is a list with one element, we set its element to True if the bounds were generated and False if bounds were read from the file.

Axis.info([flag, device])

Write info about axis; include dimension values and weights if flag

Axis.isVirtual()

Return true iff coordinate values are implicitly defined.

Axis.listall([all])

Get list of info about this axis.

Axis.mapIntervalExt(interval[, indicator, …])

Like mapInterval, but returns (i,j,k) where k is stride, and (i,j) is not restricted to one cycle.

Axis.mapInterval(interval[, indicator, cycle])

Map coordinate interval to index interval.

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

Axis.matchPattern(pattern, attribute, tag)

Match for a pattern in a string-valued attribute.

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

Axis.searchPattern(pattern, attribute, tag)

Search for a pattern in a string-valued attribute.

Axis.searchPredicate(predicate, tag)

Apply a truth-valued predicate.

Axis.subaxis(i, j[, k, wrap])

Create a transient axis for the index slice [i:j:k] The stride k can be positive or negative.

Axis.subAxis(i, j[, k, wrap])

Create a transient axis for the index slice [i:j:k] The stride k can be positive or negative.

Axis.toRelativeTime(units[, calendar])

Convert time axis values to another unit possibly in another calendar

FileAxis.asComponentTime([calendar])

Array version of cdtime tocomp.

FileAxis.asdatetime([calendar])

Array version of cdtime tocomp.

FileAxis.asDTGTime([calendar])

Array version of cdtime tocomp.

FileAxis.asRelativeTime([units])

Array version of cdtime torel.

FileAxis.clone(self[, copyData])

Return a copy of self as a transient axis.

FileAxis.getBoundsForDualGrid(dualGrid)

dualGrid changes the type of dataset from the current type to the dual.

FileAxis.info([flag, device])

Write info about axis; include dimension values and weights if flag

FileAxis.isUnlimited()

Return true iff the axis is ‘Unlimited’ (extensible)

FileAxis.isVirtual()

Return true iff coordinate values are implicitly defined.

FileAxis.listall([all])

Get list of info about this axis.

FileAxis.mapIntervalExt(interval[, …])

Like mapInterval, but returns (i,j,k) where k is stride, and (i,j) is not restricted to one cycle.

FileAxis.mapInterval(interval[, indicator, …])

Map coordinate interval to index interval.

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

FileAxis.matchPattern(pattern, attribute, tag)

Match for a pattern in a string-valued attribute.

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

FileAxis.searchPattern(pattern, attribute, tag)

Search for a pattern in a string-valued attribute.

FileAxis.searchPredicate(predicate, tag)

Apply a truth-valued predicate.

FileAxis.subaxis(i, j[, k, wrap])

Create a transient axis for the index slice [i:j:k] The stride k can be positive or negative.

FileAxis.subAxis(i, j[, k, wrap])

Create a transient axis for the index slice [i:j:k] The stride k can be positive or negative.

FileAxis.toRelativeTime(units[, calendar])

Convert time axis values to another unit possibly in another calendar

FileVirtualAxis.asComponentTime([calendar])

Array version of cdtime tocomp.

FileVirtualAxis.asdatetime([calendar])

Array version of cdtime tocomp.

FileVirtualAxis.asDTGTime([calendar])

Array version of cdtime tocomp.

FileVirtualAxis.asRelativeTime([units])

Array version of cdtime torel.

FileVirtualAxis.clone(self[, copyData])

Return a copy of self as a transient axis.

FileVirtualAxis.getBoundsForDualGrid(dualGrid)

dualGrid changes the type of dataset from the current type to the dual.

FileVirtualAxis.info([flag, device])

Write info about axis; include dimension values and weights if flag

FileVirtualAxis.isUnlimited()

Return true iff the axis is ‘Unlimited’ (extensible)

FileVirtualAxis.isVirtual()

Return true iff coordinate values are implicitly defined.

FileVirtualAxis.listall([all])

Get list of info about this axis.

FileVirtualAxis.mapIntervalExt(interval[, …])

Like mapInterval, but returns (i,j,k) where k is stride, and (i,j) is not restricted to one cycle.

FileVirtualAxis.mapInterval(interval[, …])

Map coordinate interval to index interval.

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

FileVirtualAxis.matchPattern(pattern, …)

Match for a pattern in a string-valued attribute.

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

FileVirtualAxis.searchPattern(pattern, …)

Search for a pattern in a string-valued attribute.

FileVirtualAxis.searchPredicate(predicate, tag)

Apply a truth-valued predicate.

FileVirtualAxis.subaxis(i, j[, k, wrap])

Create a transient axis for the index slice [i:j:k] The stride k can be positive or negative.

FileVirtualAxis.subAxis(i, j[, k, wrap])

Create a transient axis for the index slice [i:j:k] The stride k can be positive or negative.

FileVirtualAxis.toRelativeTime(units[, calendar])

Convert time axis values to another unit possibly in another calendar

TransientAxis.asComponentTime([calendar])

Array version of cdtime tocomp.

TransientAxis.asdatetime([calendar])

Array version of cdtime tocomp.

TransientAxis.asDTGTime([calendar])

Array version of cdtime tocomp.

TransientAxis.asRelativeTime([units])

Array version of cdtime torel.

TransientAxis.clone(self[, copyData])

Return a copy of self as a transient axis.

TransientAxis.getBoundsForDualGrid(dualGrid)

dualGrid changes the type of dataset from the current type to the dual.

TransientAxis.info([flag, device])

Write info about axis; include dimension values and weights if flag

TransientAxis.isVirtual()

Return true iff coordinate values are implicitly defined.

TransientAxis.listall([all])

Get list of info about this axis.

TransientAxis.mapIntervalExt(interval[, …])

Like mapInterval, but returns (i,j,k) where k is stride, and (i,j) is not restricted to one cycle.

TransientAxis.mapInterval(interval[, …])

Map coordinate interval to index interval.

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

TransientAxis.matchPattern(pattern, …)

Match for a pattern in a string-valued attribute.

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

TransientAxis.searchPattern(pattern, …)

Search for a pattern in a string-valued attribute.

TransientAxis.searchPredicate(predicate, tag)

Apply a truth-valued predicate.

TransientAxis.subaxis(i, j[, k, wrap])

Create a transient axis for the index slice [i:j:k] The stride k can be positive or negative.

TransientAxis.subAxis(i, j[, k, wrap])

Create a transient axis for the index slice [i:j:k] The stride k can be positive or negative.

TransientAxis.toRelativeTime(units[, calendar])

Convert time axis values to another unit possibly in another calendar

TransientVirtualAxis.asComponentTime([calendar])

Array version of cdtime tocomp.

TransientVirtualAxis.asdatetime([calendar])

Array version of cdtime tocomp.

TransientVirtualAxis.asDTGTime([calendar])

Array version of cdtime tocomp.

TransientVirtualAxis.asRelativeTime([units])

Array version of cdtime torel.

TransientVirtualAxis.clone(self[, copyData])

Return a copy of self as a transient virtual axis.

TransientVirtualAxis.getBoundsForDualGrid(…)

dualGrid changes the type of dataset from the current type to the dual.

TransientVirtualAxis.info([flag, device])

Write info about axis; include dimension values and weights if flag

TransientVirtualAxis.isVirtual()

Return true iff coordinate values are implicitly defined.

TransientVirtualAxis.listall([all])

Get list of info about this axis.

TransientVirtualAxis.mapIntervalExt(interval)

Like mapInterval, but returns (i,j,k) where k is stride, and (i,j) is not restricted to one cycle.

TransientVirtualAxis.mapInterval(interval[, …])

Map coordinate interval to index interval.

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

TransientVirtualAxis.matchPattern(pattern, …)

Match for a pattern in a string-valued attribute.

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

TransientVirtualAxis.searchPattern(pattern, …)

Search for a pattern in a string-valued attribute.

TransientVirtualAxis.searchPredicate(…)

Apply a truth-valued predicate.

TransientVirtualAxis.setBounds(bounds[, …])

No boundaries on virtual axes

TransientVirtualAxis.subaxis(i, j[, k, wrap])

Create a transient axis for the index slice [i:j:k] The stride k can be positive or negative.

TransientVirtualAxis.subAxis(i, j[, k, wrap])

Create a transient axis for the index slice [i:j:k] The stride k can be positive or negative.

TransientVirtualAxis.toRelativeTime(units[, …])

Convert time axis values to another unit possibly in another calendar