chump.operations.prepare

prepare is a command used to calculate the horizontal interpolation weights based on well location and model grid for the prepare objects defined in the configuration file. For structured grids, bilinear interpolation is used. For unstructured grids, kriging interpolation is used.

Example:

>>> chump.exe prepare example.toml
model: dict

model set the model object.

Example:

>>> model = {mf = 'gwf'}
>>> model = {iwfm = 'C2VSimCG'}
sites: dict

sites set the object representing wells/sites.

Example:

>>> sites = {csv = 'obswells'}
>>> sites = [{csv = ['obswells0', 'obswells1']}, {shp = 'obswells2'}]
ibound: str

ibound set the path of a file that contain the ibound array. Only cells with ibound != 0 will be used. if not set, ibound == 1 for all cells.

Example:

>>> ibound = 'ibound.dat'
iboundarg: dict

Optional format used to read the ibound file. if not set, ibound == 1 for all cells.

Example:

>>> iboundarg = {valwidth=10, dtype='int', skiprows=6}
def run(self):