ImportHist: Import production history

Description Usage Arguments Details Value

View source: R/06_runhm.R

Description

Import production history into a long format data frame comparable to the way simulation output is stored.

Usage

1
ImportHist(ssheetfile = NULL, basedir = "tmp", format = "%d-%b-%Y")

Arguments

ssheetfile

The full path to a .csv, .xls, or .xlsx file containing production history data.

basedir

The path to the base directory of a simulation project. The default is a subdirectory of the current directory called "tmp". This is necessary for reading and writing the PROJSUm.csv file, where the history and simulation data is stored.

format

The date format in the csv file being imported.

Details

The spreadsheet file should include a single sheet that starts with a DATE column, followed by desired data. The DATE should be in "

Value

A long format data frame with production data.


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