conversion of Text Records from DSS version 6 to 7 is not working.
ktarbet opened this issue · comments
Manually running tests in Solaris I have this error:
-----DSS---ZOPEN: Existing File Opened, File: test_text_simple_gv_ressim6.dss
Unit: 4; DSS Versions - Software: 6-YO, File: 6-YO, Library 7-IS
-----DSS--- ZREAD Unit 4; Vers. 1: //INPUTGVSTRING///STRING/TESTALT1--0:TESTALT1-RESSIM-DEFAULT/
Error expected '
abc def.', found 'bc d
a' -----DSS---zclose6 Unit: 4, File: test_text_simple_gv_ressim6.dss
Pointer Utilization: 0.25
Number of Records: 1
File Size: 25.8 Kbytes
Percent Inactive: 0.0
Number of Reads: 4
Error reading text from dss6
Status = -88
Making progress. I added a feature (new env variable) DSS_CURRENT_TIME_MILLIS
https://github.com/HydrologicEngineeringCenter/hec-dss/wiki/Environment-Variables
This allows setting current time to a constant so time-stamps differences are filtered out.
After running on windows and Solaris there is now just one difference:
fc /B dss7-solaris-text.dss dss7-windows-text.dss
Comparing files dss7-solaris-text.dss and DSS7-WINDOWS-TEXT.DSS
000004C8: 0D 44
000004C9: 17 2A