pywrdrb.utils.hdf5.extract_realization_from_hdf5

pywrdrb.utils.hdf5.extract_realization_from_hdf5#

pywrdrb.utils.hdf5.extract_realization_from_hdf5(hdf5_file, realization, stored_by_node=False)#

Pull a single inflow realization from an HDF5 file of inflows.

Parameters:
  • hdf5_file (str) – The filename for the hdf5 file

  • realization (int) – Integer realization index

  • stored_by_node (bool) – Whether the data is stored with node name as key.

Returns:

A DataFrame containing the realization

Return type:

pandas.DataFrame