Skip to content

Array default fill values #240

Open
Open

Description

@wpbonelli

The DFNs currently define default fill values for some array variables (also some scalar dimension sizes) for which questions of appropriateness have been raised. E.g.

  • GWF IC strt = 1.0
  • GWF DIS nlay = 1, nrow/ncol = 2, delc/delr = 1.0, botm = 0.0
  • NPF k = 1.0

If I recall correctly, the thinking was, these make it slightly easier to create simple models, by removing the need to specify values, but there is no reason for any particular value.

Do we want default fill values for array variables that have no obvious default values? Is ease of creating a simulation sufficient reason?

Others though are justifiable on a physical basis, like

  • GWE EST density_water = 1000.0, heat_capacity_water = 4184.0

Then there is the widespread use of DNODATA (3e30) which may be a separate question.

Activity

  1. added this to the MVP milestone on Oct 28, 2025
  2. added
    question
    requirement
    dfn
    on Oct 28, 2025
  3. changed the title [-]Array defaults[/-] [+]Array default fill values[/+] on Dec 7, 2025
  4. modified the milestones: MVP, MMP on Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dfnquestionrequirement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions