imod.mf6.Modflow6Simulation.split#

Modflow6Simulation.split(submodel_labels: DataArray | UgridDataArray, ignore_time_purge_empty: bool | None = None) Modflow6Simulation[source]#

Split a simulation in different partitions using a submodel_labels array.

Parameters:
  • submodel_labels (xr.DataArray or xu.UgridDataArray) – A grid that defines how the simulation will be split. The array should have the same topology as the domain being split, i.e. similar shape as a layer in the domain. The values in the array indicate to which partition a cell belongs. The values should be zero or greater.

  • ignore_time_purge_empty (bool, default None) – If True, only the first timestep is validated. This increases performance for packages with a time dimensions over which changes of cell activity are not expected. If None, the value of the validation context is of the simulation is used.

Return type:

A new simulation containing all the split models and packages