Skip to content

Bug in writing CSV2 file #1

@christianlangevin

Description

@christianlangevin

I think we may have found a bug in zone budget (in zonbudusg, but also likely in structured zone budget), and I wanted to get your opinion to see if I am missing something obvious. Here is the situation:

  1. Compact budget option is NOT used
  2. Wells are on in stress period 1 but later, the number of active wells is specified as 0
  3. Zone budget is asked to write a CSV2 file

In this situation, the non-compact budget file has an entry for WELLS in stress period 1, but it does not have an entry later on. It appears that zone budget gets confused for the CSV2 case because the number of columns has changed.

Does this sound like something you have encountered or seen before? When I run the model with COMPACT BUDGET everything works as expected.

If this is a bug, it seems like a fix would be to read through the entire budget file and determine names for all of the columns, and then go back and process the file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions