cdms2.tvariable:TransientVariable

TransientVariable.fetchHaloData(pe, side)[source]

Fetch the halo data from another processor. The halo side is a subdomain of the halo that is exposed to other processors. It is an error to call this method when MPI is not enabled. This is a collective method (must be called by all processes), which involves synchronization of data among all processors.

Parameters
pe:

processor owning the halo data. This is a no operation when pe is None.

side:

a tuple of zeros and one +1 or -1. To access the “north” side for instance, set side=(1, 0), (-1, 0) to access the south side, (0, 1) the east side, etc.

Note: collective, all procs must invoke this method. If some processors should not fetch then pass None for pe.