Log curve substitute

 

This log function performs a conditional data substitution using "if-then-else" type logic. You specify the source log to be evaluated along with the logical condition to test the source log against. In addition, you specify what output results you want when the test evaluates to true and what output results you want when it is false.

An example of this logical test might be; "If GR is equal to NULL then set GR to GR_NRM, else set GR to GR". This operation would substitute the GR_NRM curve for any NULL values found in the GR and replace GR curve in the database.

To open the Log Curve Substitute tool, select Compute>From Logs>Substitute from the menu bar at the top of the Main Module

This function can be used to fill in NULL sample values from another log, or set specific values to NULL or some other value.

The substitute function will be applied to all currently selected wells, i.e., those wells showing in the main window list.

Select the desired options then click the OK button to perform the substitute function.

Log To Evaluate  (source)

This dropdown sets the log curve to evaluate.

Condition

This section contains the logical condition to test the source log against. Available conditions are:

EQUAL TO

LESS THAN

LESS THAN OR EQUAL TO

GREATER THAN

GREATER THAN OR EQUAL TO

NOT EQUAL TO

Compare To

This list box contains all available logs in the project. Select the data to compare the source log to. You may select another log curve, test against a constant value, or test the source curve for a NULL or missing value.

When True, Result Is

This list box contains all available logs in the project. Select the data you want the results to contain when the condition evaluates to TRUE. You may elect another log curve, test against a constant value, or test the source curve for a NULL or missing value.

When False, Result Is

This list box contains all available logs in the project. Select the data you want the results to contain when the condition evaluates to FALSE. You may select another log curve, test against a constant value, or test the source curve for a NULL or missing value.

Store Output Log In  (results)

This list box contains all available logs in the project.  Specify the name of the log curve you want the output results to be stored in.  You may select an existing log or type in a new log name for which you will be prompted for the new log description.

 

Delete If Missing Any Logs - Check this option if the output log should be deleted if any of the logs used in the comparison are missing for the well.

Restrict Depth Range... - The log substitute function can be applied to the entire log depth range or restricted to a specific depth interval. The depths can be set using a constant range or variable range based on the formation tops.