regrid2.esmf:EsmfStructField

EsmfStructField.setLocalData(data, staggerloc, globalIndexing=False)[source]

Set local field data

Parameters
datafull numpy array, this method will take care of setting

a the subset of the data that reside on the local processor

staggerlocstagger location of the data
globalIndexingif True array was allocated over global index space, array

was allocated over local index space (on this processor)