cdms2.tvariable:TransientVariable

TransientVariable.specs2slices(speclist, force=None)

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()