EclSum: Read an Eclipse style summary file into R and save it as csv...

Description Usage Arguments Details Value References

View source: R/03_gathering.R

Description

This function converts Eclipse style xy type output to a csv file for later use.

Usage

1
EclSum(casename = "^.+", basedir = "tmp")

Arguments

casename

The deck basename of an Eclipse style simulation summary output. A perl style regular expression may be used to find multiple summary files. Default behavior is to search recursively in the basedir to find a list of summary files.

basedir

The path to the base directory of a simulation project. The default is a subdirectory of the current directory called "tmp".

Details

The ability to parse the summary files resides in libecl, created by Statoil for use in their Ensemble Reservoir Tool. This function currently uses the Python wrappers available for libecl, because I haven't yet learned how to use the library directly.

Value

The function writes out a csv file for each input summary file, into the appropriate simulation run output directory. It also appends the new summary data to a csv file with the combined results of all previous runs (in the REPORTS sub directory), and returns a dataframe with the combined summary data. When the casename duplicates a casename from a previous combined results, the new case is substituted for the old case.

References

Ensemble Reservoir Tool, libecl


gerwathome/runOPM documentation built on May 20, 2019, 4:05 p.m.