Skip to content

SPEC-ACTIONS - UVQUAN as action value #173

@tjobes

Description

@tjobes

In the SPEC-ACTIONS block, this set of lines cannot be successfully imported from a UCI into the HDF5 file:

UVQUAN lkstag RCHRES 1 STAGE
UVQUAN lkarea RCHRES 1 SAREA
UVQUAN hdiff GLOBAL WORKSP 10

UVNAME HDIFF 1 WORKSP 10 1.0 QUAN

*** Compute head difference
GENER 1 HDIFF = lkstag
GENER 1 HDIFF -= gwstag

The error is not recognizing that "lkstag" and "gwstag" needs to be translated from text into a value in the action lines at the end - it only tries to read it as a number, and dies. The code should take the action quantity field and identify whether it is text or number, and if the former, it should look for it in the UVQUAN list.

See the "GTQUAN" calls in SPACT (and SPBKCK for IF statements using UVQUANs to set logical conditions).

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