sdynpy.fileio.sdynpy_uff.readunv
- readunv(filename, datasets=None, verbose=False)
Read a universal file
- Parameters
filename (str) – Path to the file that should be read.
datasets (iterable, optional) – List of dataset id numbers to read. The default is None.
verbose (bool, optional) – Output extra information when reading the file. The default is False.
- Raises
UFFReadError – Raised if errors are found when reading the file.
- Returns
Dictionary with keys as the dataset id numbers and values containing the data from the universal file in those datasets.
- Return type
dict