-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add WELOPEN support in ecl2df COMPDAT parsing (#186)
* Add WELOPEN support in ecl2df COMPDAT parsing * Closes #185 * Drop f-string for py2 compatibility * Change into a function * Add test for applywelopen * Improved readability * Fix nan to None * Add test with defined IJK WELOPEN * Type welLopen * Warning if lumped connections * Add test for invalid WELOPEN well * Move test, remove unneeded columns * Removed varitation in indentation test sim decks * Add comment for column name translation * Updated docstring for applywelopen * Add WELOPEN to bash script
- Loading branch information
Showing
6 changed files
with
430 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,6 +54,7 @@ | |
"WCONINJE", | ||
"WCONINJH", | ||
"WCONPROD", | ||
"WELOPEN", | ||
"WELSEGS", | ||
"WELSPECS", | ||
]: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"name": "WELOPEN", | ||
"sections": [ | ||
"SCHEDULE" | ||
], | ||
"items": [ | ||
{ | ||
"name": "WELL", | ||
"value_type": "STRING" | ||
}, | ||
{ | ||
"name": "STATUS", | ||
"value_type": "STRING", | ||
"default": "OPEN" | ||
}, | ||
{ | ||
"name": "I", | ||
"value_type": "INT" | ||
}, | ||
{ | ||
"name": "J", | ||
"value_type": "INT" | ||
}, | ||
{ | ||
"name": "K", | ||
"value_type": "INT" | ||
}, | ||
{ | ||
"name": "C1", | ||
"value_type": "INT" | ||
}, | ||
{ | ||
"name": "C2", | ||
"value_type": "INT" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,7 @@ WCONHIST | |
WCONINJE | ||
WCONINJH | ||
WCONPROD | ||
WELOPEN | ||
WELSEGS | ||
WELSPECS | ||
" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.