tvariable

asVariable(s[, writeable])

As Variable

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

Creates an axis.

createRectGrid(lat, lon[, order, type, mask])

Not documented

createVariable(*args, **kargs)

Creates variable in-memory.

fromJSON(jsn)

Recreate a TV from a dumped jsn object from dumps()

isVariable(s)

Is s a variable?

sctype2char(sctype)

Return the string representation of a scalar dtype.

TransientVariable.all([axis, out, keepdims])

Returns True if all elements evaluate to True.

TransientVariable.anom([axis, dtype])

Compute the anomalies (deviations from the arithmetic mean) along the given axis.

TransientVariable.any([axis, out, keepdims])

Returns True if any of the elements of a evaluate to True.

TransientVariable.argmax([axis, fill_value, out])

Returns array of indices of the maximum values along the given axis.

TransientVariable.argmin([axis, fill_value, out])

Return array of indices to the minimum values along the given axis.

TransientVariable.argsort([axis, kind, …])

Return an ndarray of indices that sort the array along the specified axis.

TransientVariable.asma()

Convert a Transient Variable into a numpy masked array.

TransientVariable.astype(tc)

return self as array of given type.

TransientVariable.clip([min, max, out])

Return an array whose values are limited to [min, max].

TransientVariable.clone([copyData])

Clone

TransientVariable.compressed()

Return all the non-masked data as a 1-D array.

TransientVariable.compress(condition[, …])

Return a where condition is True.

TransientVariable.copyAxis(n, axis)

Set n axis of self to a copy of axis.

TransientVariable.copydimension(idim, other, …)

Set idim dimension of self to variable other’s jdim’th This is for old cu compatibility.

TransientVariable.copyDomain(other)

Set the axes and grid by copying variable other.

TransientVariable.count([axis, keepdims])

Count the non-masked elements of the array along the given axis.

TransientVariable.createattribute(name, value)

Create an attribute and set its name to value.

TransientVariable.crossSectionRegrid(…[, …])

Return the variable regridded to new pressure levels and latitudes.

TransientVariable.cumprod([axis, dtype, out])

Return the cumulative product of the array elements over the given axis.

TransientVariable.cumsum([axis, dtype, out])

Return the cumulative sum of the array elements over the given axis.

TransientVariable.decode(ar)

Decode compressed data.

TransientVariable.deleteattribute(name)

Delete the named attribute.

TransientVariable.diagonal([offset, axis1, …])

Return specified diagonals.

TransientVariable.dot(b[, out])

Masked dot product of two arrays.

TransientVariable.dump(file)

Dump a pickle of the array to the specified file.

TransientVariable.dumps(*args, **kargs)

Dumps Variable to a jason object, args are passed directly to json.dump

TransientVariable.exposeHalo([ghostWidth])

Expose the halo to other processors.

TransientVariable.fetchHaloData(pe, side)

Fetch the halo data from another processor.

TransientVariable.filled([fill_value])

Return a copy of self, with masked values filled with a given value.

TransientVariable.flatten([order])

Return a copy of the array collapsed into one dimension.

TransientVariable.freeHalo()

Free the MPI windows attached to the halo.

TransientVariable.generateGridkey(…)

Determine if the variable is gridded.

TransientVariable.generateRectGridkey(lat, lon)

Determine if the variable is gridded, rectilinear.

TransientVariable.getattribute(name)

Get the attribute name.

TransientVariable.getAxisIds()

Get a list of axis identifiers.

TransientVariable.getAxisIndex(axis_spec)

Get the index of the axis specificed by axis_spec.

TransientVariable.getAxisListIndex([axes, …])

Get Axis List Index

TransientVariable.getAxisList([axes, omit, …])

Get the list of axis objects

TransientVariable.getConvention()

Get the metadata convention associated with this object.

TransientVariable.getdimattribute(dim, field)

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

TransientVariable.get_fill_value()

The filling value of the masked array is a scalar.

TransientVariable.getForecastTime()

Get the first forecast time dimension.

TransientVariable.getGridIndices()

Get Grid Indices

TransientVariable.getHaloEllipsis(side)

Get the ellipsis for a given halo side.

TransientVariable.get_imag()

The imaginary part of the masked array.

TransientVariable.getLatitude()

Get the first latitude dimension.

TransientVariable.getLevel()

Get the first vertical level dimension in the domain.

TransientVariable.getLongitude()

Get the first longitude dimension.

TransientVariable.getMissing([asarray])

Get Missing

TransientVariable.getMPIRank()

Return the MPI rank

TransientVariable.getMPISize()

Return the MPI communicator size

TransientVariable.getOrder([ids])

Get Order

TransientVariable.get_real()

The real part of the masked array.

TransientVariable.getRegion(*specs, **keys)

Read a region of data.

TransientVariable.getSlice(*specs, **keys)

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

TransientVariable.getTileIndex()

Get the tile index (for mosaics)

TransientVariable.getTime()

Get the first time dimension.

TransientVariable.harden_mask()

Force the mask to hard.

TransientVariable.hasCellData()

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

TransientVariable.ids()

Return the addresses of the data and mask areas.

TransientVariable.isEncoded()

Transient variables are not encoded

TransientVariable.listall([all])

Get list of info about this slab.

TransientVariable.listattributes()

Return a list of attribute names.

TransientVariable.listdimattributes(dim)

List the legal axis field names.

TransientVariable.listdimnames()

Return a list of the names of the dimensions.

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

TransientVariable.matchPattern(pattern, …)

Match for a pattern in a string-valued attribute.

TransientVariable.max([axis, out, …])

Return the maximum along a given axis.

TransientVariable.mean([axis, dtype, out, …])

Returns the average of the array elements along given axis.

TransientVariable.mini([axis])

Return the array minimum along the specified axis.

TransientVariable.min([axis, out, …])

Return the minimum along a given axis.

TransientVariable.nonzero()

Return the indices of unmasked elements that are not zero.

TransientVariable.pressureRegrid(newLevel[, …])

Return the variable regridded to new pressure levels.

TransientVariable.prod([axis, dtype, out, …])

Return the product of the array elements over the given axis.

TransientVariable.product([axis, dtype, …])

Return the product of the array elements over the given axis.

TransientVariable.ptp([axis, out, …])

Return (maximum - minimum) along the given dimension (i.e.

TransientVariable.put(indices, values[, mode])

Set storage-indexed locations to corresponding values.

TransientVariable.ravel([order])

Returns a 1D version of self, as a view.

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

return self regridded to the new grid.

TransientVariable.reorder(order)

Reorder per the specification order.

TransientVariable.repeat(repeats[, axis])

Repeat elements of an array.

TransientVariable.reshape(*s, **kwargs)

Give a new shape to the array without changing its data.

TransientVariable.resize(newshape[, …])

TransientVariable.round([decimals, out])

Return each element rounded to the given number of decimals.

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

TransientVariable.searchPattern(pattern, …)

Search for a pattern in a string-valued attribute.

TransientVariable.searchPredicate(predicate, tag)

Apply a truth-valued predicate.

TransientVariable.select(*args, **kwargs)

Selection of a subregion using selectors.

TransientVariable.setattribute(name, value)

Set the attribute name to value.

TransientVariable.setAxisList(axislist)

Set the axes to axislist.

TransientVariable.setAxis(n, axis[, savegrid])

Set n axis of self to a copy of axis.

TransientVariable.setdimattribute(dim, …)

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

TransientVariable.set_fill_value(value)

Set missing value attribute and fill value

TransientVariable.setMaskFromGridMask(mask, …)

Set the mask for self, given a grid mask and the variable domain indices corresponding to the grid dimensions.

TransientVariable.setMissing(value)

Set missing value attribute and fill value

TransientVariable.setMPIComm(comm)

Set the MPI communicator.

TransientVariable.setTileIndex(index)

Set the tile index (for mosaics) index: tile index

TransientVariable.showdim()

Show the dimension attributes and values.

TransientVariable.shrink_mask()

Reduce a mask to nomask when possible.

TransientVariable.soften_mask()

Force the mask to soft.

TransientVariable.sort([axis, kind, order, …])

Sort the array, in-place

TransientVariable.specs2slices(speclist[, force])

Create an equivalent list of slices from an index specification.

TransientVariable.std([axis, dtype, out, …])

Returns the standard deviation of the array elements along given axis.

TransientVariable.sum([axis, dtype, out, …])

Return the sum of the array elements over the given axis.

TransientVariable.swapaxes(axis1, axis2)

Return a view of the array with axis1 and axis2 interchanged.

TransientVariable.take(indices[, axis, out, …])

TransientVariable.tobytes([fill_value, order])

Return the array data as a string containing the raw bytes in the array.

TransientVariable.tofile(fid[, sep, format])

Save a masked array to a file in binary format.

TransientVariable.toflex()

Transforms a masked array into a flexible-type array.

TransientVariable.tolist([fill_value])

Return the data portion of the masked array as a hierarchical Python list.

TransientVariable.torecords()

Transforms a masked array into a flexible-type array.

TransientVariable.tostring([fill_value, order])

A compatibility alias for tobytes, with exactly the same behavior.

TransientVariable.toVisit(filename[, …])

Save data to file for postprocessing by the VisIt visualization tool filename: name of the file where the data will be saved format: ‘Vs’ for VizSchema, ‘VTK’ for VTK, .

TransientVariable.trace([offset, axis1, …])

Return the sum along diagonals of the array.

TransientVariable.transpose(*axes)

Returns a view of the array with axes transposed.

TransientVariable.unshare_mask()

Copy the mask and set the sharedmask flag to False.

TransientVariable.view([dtype, type, fill_value])

Return a view of the MaskedArray data.