You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Python, the SolutionArray class offers a convenient way of handling multiple states. Equivalent objects are not available for other API's, where in particular a means for efficient file I/O would be important. While there now is the ability to save to YAML as ASCII text (see Cantera/cantera#1112), this will create unnecessarily large files for large mechanisms.
Originally posted by ischoegl October 6, 2021
In the Python API, SolutionArray objects hold multiple states, which allows for efficient manipulation of time series, spatial profiles etc. The implementation of this feature uses Python (Cython) exclusively, where an equivalent capability does not exist in the C++ core. Beyond manipulation of data sets, SolutionArray objects also offers a convenient vehicle to save and load data (e.g. CSV, HDF5), where interoperability between different interfaces would be beneficial.
This discussion is meant to collect some ideas within this context.
Other Thoughts
For a potential underlying storage structure, I am also wondering whether the discussion in #91 should be given some thought.
The text was updated successfully, but these errors were encountered:
Abstract
In Python, the
SolutionArray
class offers a convenient way of handling multiple states. Equivalent objects are not available for other API's, where in particular a means for efficient file I/O would be important. While there now is the ability to save to YAML as ASCII text (see Cantera/cantera#1112), this will create unnecessarily large files for large mechanisms.Discussed in #119
Originally posted by ischoegl October 6, 2021
In the Python API,
SolutionArray
objects hold multiple states, which allows for efficient manipulation of time series, spatial profiles etc. The implementation of this feature uses Python (Cython) exclusively, where an equivalent capability does not exist in the C++ core. Beyond manipulation of data sets,SolutionArray
objects also offers a convenient vehicle to save and load data (e.g. CSV, HDF5), where interoperability between different interfaces would be beneficial.This discussion is meant to collect some ideas within this context.
Other Thoughts
For a potential underlying storage structure, I am also wondering whether the discussion in #91 should be given some thought.
The text was updated successfully, but these errors were encountered: