class imod.mf6.InitialConditions(start=None, head=None)[source]#

Initial Conditions (IC) Package information is read from the file that is specified by “IC6” as the file type. Only one IC Package can be specified for a GWF model.

  • head (array of floats (xr.DataArray)) – for backwards compatibility this argument is maintained, but please use the start-argument instead.

  • start (array of floats (xr.DataArray)) – is the initial (starting) head or concentration—that is, the simulation’s initial state. STRT must be specified for all simulations, including steady-state simulations. One value is read for every model cell. For simulations in which the first stress period is steady state, the values used for STRT generally do not affect the simulation (exceptions may occur if cells go dry and (or) rewet). The execution time, however, will be less if STRT includes hydraulic heads that are close to the steadystate solution. A head value lower than the cell bottom can be provided if a cell should start as dry. (strt)

__init__(start=None, head=None)[source]#


__init__([start, head])


from_file(path, **kwargs)

Loads an imod mf6 package from a file (currently only netcdf and zarr are supported).





render(directory, pkgname, globaltimes, binary)


to_sparse(arrdict, layer)

Convert from dense arrays to list based input

write(directory, pkgname, globaltimes, binary)

write_binary_griddata(outpath, da, dtype)

write_blockfile(directory, pkgname, ...)

write_netcdf(directory, pkgname[, ...])

Write to netcdf.

write_text_griddata(outpath, da, dtype)