Skip to content

TDIS perioddata written per period #227

@mjreno

Description

@mjreno

Version: Commit d50342f
Recreate:

  • comment out OC constructor
  • change time constructor:
time = ModelTime(perlen=[1.0, 1000.0], nstp=[1, 10], tsmult=[1.0, 1.5])
#time = ModelTime(perlen=[1.0], nstp=[1], tsmult=[1.0])

Result:

BEGIN OPTIONS
 START_DATE_TIME 1970-01-01T00:00:00
END OPTIONS

BEGIN DIMENSIONS
 NPER 2
END DIMENSIONS

BEGIN PERIODDATA 1
 1.0 1 1.0
END PERIODDATA 1

BEGIN PERIODDATA 2
 1000.0 10 1.5
END PERIODDATA 2

Note that current passing test also writes perioddata with a block variable of 1, but perioddata doesn't support block variables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    IORelated to loading/writing input/output filesbugSomething isn't workingrequirementCore requirement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions