mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-24 14:58:13 -06:00
Read the ROFF "subgrids.nLayers" array and expand it into a 1-based per-cell integer property (SUBGRIDS) so ROFF zonation becomes a regular grid property. If a companion "subgrids.names" array is present, zone names are surfaced as category code-names via the existing color-legend flow.
27 lines
379 B
Plaintext
27 lines
379 B
Plaintext
roff-asc
|
|
#ROFF file with subgrids/zonation information#
|
|
tag filedata
|
|
int byteswaptest 1
|
|
char filetype "parameter"
|
|
char creationDate "01/01/2026 00:00:00"
|
|
endtag
|
|
tag version
|
|
int major 2
|
|
int minor 0
|
|
endtag
|
|
tag dimensions
|
|
int nX 2
|
|
int nY 3
|
|
int nZ 6
|
|
endtag
|
|
tag subgrids
|
|
array int nLayers 3
|
|
2 1 3
|
|
array char names 3
|
|
"Top Zone"
|
|
"Middle Zone"
|
|
"Bottom Zone"
|
|
endtag
|
|
tag eof
|
|
endtag
|