cdms2.avariable:AbstractVariable¶
-
AbstractVariable.
specs2slices
(self, speclist, force=None)[source]¶ Create an equivalent list of slices from an index specification. An index specification is a list of acceptable items, which are
an integer
a slice instance (slice(start, stop, stride))
the object “unspecified”
the object None
a colon
The size of the speclist must be self.rank()