Importing 1D Grid Data Files (Signal Mesh and Data)

oSP3D can import CSV-formatted 1D grid data files, also known as signal data files, including their data values. The first column will be interpreted as the x-coordinates of the nodes (data points) on the signal abscissa while the second column is interpreted as the associated signal ordinate. Only signals with 1 channel are supported.

In addition to the specification requirements and limitations summarized in CSV Files, the CSV import interface adds these requirements:

  • You must not have a header line.

  • Each record can have up to three fields. The fields are interpreted respectively as an optional node identifier, time-stamp value, and associated data value.

  • Each record must have the same number of fields, separated by a delimiter.

  • 1D grids do not support missing data. Therefore, empty records are not supported because oSP3D would need to interpret missing fields as missing data.

  • Spaces are considered part of a field. The last field in the record must not be followed by a delimiter.

  • The optional node identifier must be convertible to an integer. The other data value is interpreted as double.

1D Grid Example Files

The following examples define the mesh and associated data values for the item identifiers 1 through 4 in all valid format descriptions.

Example 1: Uses time stamp and data value columns

1e-5, 3.45
4.45, 4.56
5, 5.17
8e1  ,   2

Example 2: Uses full-format specification, namely the optional node identifier and time stamp and data value columns

 1 , 1e-5, 3.45
2,4.45, 4.56
3,5, 5.17
4,8e1  ,   2