imod.mf6.ValidationSettings#

class imod.mf6.ValidationSettings(validate: bool = True, strict_well_validation: bool = True, strict_hfb_validation: bool = True, ignore_time: bool = False)[source]#

Validation settings for MF6 model validation. Configuring imod.mf6.ValidationSettings can help performance or reduce the strictness of validation for some packages, namely the Well and HFB package.

Parameters:
  • validate (bool, default=True) – Whether to perform validation.

  • strict_well_validation (bool, default=True) – Whether to enforce strict validation for wells. If set to False, faulty wells are automatically removed during the writing process.

  • strict_hfb_validation (bool, default=True) – Whether to enforce strict validation for HFBs. If set to False, faulty HFBs are automatically removed during the writing process.

  • ignore_time (bool, default=False) – If True, ignore time dimension in validation. Instead, select first timestep of dataset. This can save a lot of time during writing when the time dimension is not relevant for the validation process. Especially when boundary conditions do not have cell activity changes over time.

Examples

>>> import imod
>>> settings = imod.mf6.ValidationSettings(validate=True, strict_well_validation=False)

You can also set attributes directly after instantiation:

>>> settings.ignore_time = True

You can provide the settings to imod.mf6.Modflow6Simulations:

>>> sim = imod.mf6.Modflow6Simulation(validation_context=settings)
__init__(validate: bool = True, strict_well_validation: bool = True, strict_hfb_validation: bool = True, ignore_time: bool = False) None#

Methods

__init__([validate, strict_well_validation, ...])

Attributes

ignore_time

strict_hfb_validation

strict_well_validation

validate