sdynpy.fileio.sdynpy_uff

Interface to the universal file format (UFF).

Using the functions in this module, one can read and write unv files.

Copyright 2022 National Technology & Engineering Solutions of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. Government retains certain rights in this software.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.

Functions

parse_uff_line(line, format_specs[, read_number])

Parses a line from a universal file format

parse_uff_lines(lines, line_format_spec, ...)

Reads multiple lines from a universal file

readuff(filename[, datasets, verbose])

Read a universal file

readunv(filename[, datasets, verbose])

Read a universal file

write_uff_line(data, format_specs[, fill_line])

Write data to universal file format

Exceptions

UFFReadError(value)

Exception to be used when there is an error reading a UNV file