openfast icon indicating copy to clipboard operation
openfast copied to clipboard

OutFileFmt==0 truncates channel names to 10 characters

Open andrew-platt opened this issue 2 years ago • 0 comments

Bug description The OutFileFmt==0 option writes an uncompressed binary output file with a fixed channel name length of 10 characters which can lead to truncation of longer channel names. There are some output channels that contain more than 10 characters; for example, the structural control (StC) channels for blades contain up to 12 characters (BStC1_B2_ZQD).

I think this only affects channels from the blade StCs at present (not a typical use case with OutFileFmt==0). So this is a low severity bug for now.

To Reproduce Open StC_test_OC4Semi.outb from the regression test (https://github.com/OpenFAST/r-test/blob/dev/glue-codes/openfast/StC_test_OC4Semi/StC_test_OC4Semi.outb). Channel names 77-100 are all truncated resulting in apparently redundant channels. However, comparing these are not truncated in the text output file (https://github.com/OpenFAST/r-test/blob/dev/glue-codes/openfast/StC_test_OC4Semi/StC_test_OC4Semi.out) or if the regular compressed binary output file is used (OutFileFmt==2).

Screenshots, if applicable From StC_test_OC4Semi.outb: Screen Shot 2022-08-27 at 5 25 07 AM

From StC_test_OC4Semi.out: Screen Shot 2022-08-27 at 5 26 18 AM

OpenFAST Version This bug exists in all versions of OpenFAST after the introduction of the structural control submodule to ServoDyn in release v3.0

andrew-platt avatar Aug 27 '22 11:08 andrew-platt