regrid2.esmf:EsmfStructField

EsmfStructField.getData(rootPe)[source]

Get field data as a numpy array

Parameters
rootPeif None then local data will be fetched, otherwise gather the

data on processor “rootPe” (all other procs will return None).

Returns
numpy array or None.