Reading non-complaint grdecl files
- Dominant language
- C++
- Stars
- 127
- Forks
- 103
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 18
Description
My geologist gave me a .grdecl file produced by RMS which contains a property `ConnectedChannels_only`.
I am trying to read it with
```
with cwrap.open(file_path) as f:
property = resdata.resfile.ResdataKW.read_grdecl(f, "ConnectedChannels_only", rd_type=ResDataType.RD_INT)
```
This obviously fails the check from `rd_kw.py`
```
if kw:
if len(kw) > 8:
raise TypeError(
"Sorry keyword:%s is too long, must be eight characters or less."
% kw
)
```
I am wondering if it would be useful to reduce the strictness of the check with an optional flag to make the library useful for such .grdecl files?
Contributor guide
Assessment
This issue has not been assessed yet.