Skip to content

Channel names in uncompressed binary file are truncated to 10 characters #1812

Description

@ebranlard

Main issue
Uncompressed binaries use only 10 characters for the channel names when OutFmt = 4 i.e. FileID = FileFmtID_NoCompressWithoutTime = 3 , see e.g:

Suggested solution
The maximum number of characters for the channel length should be written to the file to have a similar behavior for compressed and uncompressed binaries, and ASCII files.

Since uncompressed binaries are not too commonly used at the moment, I suggest that when OutFmt = 4 OpenFAST writes an uncompressed binary file with one extra field for the channel length (similar to what is done for FileFmtID_ChanLen_In).
For backward compatbility, we can introduce a new "FileID" in the binary file, e.g. FileID = FileFmtID_NoCompressWithoutTime_ChanLen_In=5 .

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions