Page 1 of 1

Loading CityShark files - Components problem

Posted: Tue Oct 09, 2007 2:49 pm
by sbonnefo
Hi Marc,

I have got some spurious problem when loading CityShark I files.
I have the original file (backup done just after reading the flash card with Read City) and the same file which has been copied / transfered from one computer to another and may be modified (the modified date is younger than the original file).

The numeric value of data are, however, strictly equal in both files, I check it! The header lines are also the same. This means that these two files seems to be identical.

However, when I load these files in GEOPSY, the components are correctly set for the original file, whereas they are mixed for the second file:
- the Vertical component is changed into the North component
- the North component is changed into the East component
- the East component is changed into the Vertical component

It seems that something is wrong somewhere ... But I couldn't tell where!
I attach to this post the data.tar file with the two signals:
- 10041609.004: the original file
- 10041609.444: the modified file?

Thanks,
Sylvette

Posted: Tue Oct 09, 2007 2:50 pm
by sbonnefo
I can not upload the data.tar file ... I will put it on your FTP site!

Posted: Tue Oct 09, 2007 2:50 pm
by sbonnefo
Using data_sylvette.tar

Posted: Thu Oct 11, 2007 3:29 pm
by admin
The difference between your two files is just that one has \r\n at the end of lines (Microsoft way of life) and the other just \n (Linux/Unix way).

With diff -b they are strictly equivalent.

I open your file and got not differences under Linux. Next time, I'll build a release for Windows, I'll test if it is a specific platform bug.

Posted: Thu Oct 11, 2007 4:10 pm
by sbonnefo
Waou! Tricky bug!

Posted: Mon Nov 05, 2007 10:19 pm
by admin
Hi Sylvette,

Current snapshot published today for all platforms is now safe for all types of text formats for Cityshark files (with \r\n or \n for the end of lines).