import_data

classmethod Statoil.import_data(path, prefix, network=None)[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 (GenericNetwork) – 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 GenericNetwork holding all the data

Return type

Project