TestCapability Method

Tests whether a capability is supported by this class or an instance of it.

Class:QuikSCATL3TimeSeries
Intended use:Recommended for external callers
COM:Not exposed by a COM class
ArcGIS:Not exposed as an ArcGIS geoprocessing tool
Method type:Classmethod

Usage

error = QuikSCATL3TimeSeries.TestCapability(capability)

Arguments

capability
Python type:unicode
Minimum length:1

Capability to test.

This function does not provide a list of capabilities that may be tested. Please see the documentation for the other methods of this class to determine what capabilties may be tested that are relevant to those methods.

Returns

error
Python type:exceptions.Exception or None

None if the capability is supported, or an instance of Exception if it is not supported. The string representation of the Exception explains why the capability is not supported (if possible) in the context of when it might be needed.

Remarks

If called on an instance, this method tests whether the underlying object represented by the instance supports the capability.

If called on the class, this method tests whether at least one instance can possibly support the capability. If no instances can ever support the capability, this method will indicate that the capability is not supported.