network_from_statoil#

network_from_statoil(path, prefix)[source]#

Load data from the 'dat' files located in specified folder.

Parameters:
  • path (str) – The full path to the folder containing the set of 'dat' files.

  • prefix (str) – The file name prefix on each file. The data files are stored as <prefix>_node1.dat.

  • network (Network) – If given then the data will be loaded on it and returned. If not given, a Network will be created and returned.

Returns:

An OpenPNM Project containing a Network holding all the data

Return type:

Project

Notes

The StatOil format is used by the Maximal Ball network extraction code of the Imperial College London group

This class can be used to load and work with those networks. Numerous datasets are available for download from the group’s website.

The ‘Statoil’ format consists of 4 different files in a single folder. The data is stored in columns with each corresponding to a specific property. Headers are not provided in the files, so one must refer to various theses and documents to interpret their meaning.