Skip to content

NSEQ, NADD #2

Description

@acroucher

Using t2data to read a TOUGH2 data file in which the NSEQ/NADD option is used (to create multiple blocks and connections with the digits at the end of the block names incremented according to a specified pattern) may not work, depending on the pattern. If a connection refers to a block defined only implicitly by NSEQ/NADD then that block will be reported as missing and the read() will fail.

I'm not sure if people still use this option- it was probably more useful in the days before grid generation software.

A possible fix might be to add an 'implied' property to the t2block and t2connection classes, create blocks and connections implied by NSEQ/NADD during read, but only write out blocks and connections with implied==False.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions