The purpose of these functions is to provide a simple way to output in the format PUQ expects.
PUQ expects to see output values written to standard output. It captures all standard output, and scans it looking for a pattern at the beginning of every line. Lines which don’t match this pattern are ignored.
HDF5:{‘name’: n, ‘desc’: d, ‘value’:v}:5FDH
where
n: | Name of the variable |
---|---|
d: | Description of the variable |
v: | Value of the variable |
from puqutil import dump_hdf5
dump_hdf5('v', v, 'velocity of the swallow')
Writes data to stdout with formatting so PUQ can automatically recognize it and save it.
Parameters: |
|
---|
These are included in “dump_hdf5.h”
Writes data to stdout with formatting so PUQ can automatically recognize it and save it.
Parameters: |
|
---|
Writes data to stdout with formatting so PUQ can automatically recognize it and save it.
Parameters: |
|
---|