subscript.field_statistics.field_statistics

Purpose:

Calculate mean and stdev of continuous field parameters Estimate volume fraction of facies (facies probabilities) Works for non-shared grids where nx, ny is fixed, but nz per zone may vary from realization to realization.

Result:

Output mean and stdev for continuous field parameter Output estimate of facies probabilities for facies parameters

class subscript.field_statistics.field_statistics.FieldStatistics

This class defines the ERT workflow hook.

It is constructed to work identical to the command line except

  • field_statistics is upper-cased to FIELD_STATISTICS

  • All option names with double-dash must be enclosed in “” to avoid interference with the ERT comment characters “–“.

run(*args)

Pass the ERT workflow arguments on to the same parser as the command line.

subscript.field_statistics.field_statistics.check_if_iterations_exist(ens_path, input_dict)

Get specified interations from specifications and check that the iteration exist in the ensemble.

subscript.field_statistics.field_statistics.get_parser()

Define the argparse parser

Return type:

ArgumentParser

subscript.field_statistics.field_statistics.get_parser_ert()

Define the argparse parser

Return type:

ArgumentParser

subscript.field_statistics.field_statistics.legacy_ertscript_workflow(config)

A hook for usage of this script in an ERT workflow, using the legacy hook format.

subscript.field_statistics.field_statistics.main()

Invocated from the command line, parsing command line arguments