imod.mf6.Modflow6Simulation.regrid_like#

Modflow6Simulation.regrid_like(regridded_simulation_name: str, target_grid: DataArray | UgridDataArray, validate: bool = True) Modflow6Simulation[source]#

This method creates a new simulation object. The models contained in the new simulation are regridded versions of the models in the input object (this). Time discretization and solver settings are copied.

Parameters:
  • regridded_simulation_name (str) – name given to the output simulation

  • target_grid (xr.DataArray or xu.UgridDataArray) – discretization onto which the models in this simulation will be regridded

  • validate (bool) – set to true to validate the regridded packages

Return type:

a new simulation object with regridded models