Loading CityShark files - Components problem

This forum is dedicated to discuss all problems and suggestions related to the use of geopsy database and its plugins (array processing, H/V,...).
Post Reply
sbonnefo
Posts: 34
Joined: Tue Aug 14, 2007 7:43 am

Loading CityShark files - Components problem

Post 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
sbonnefo
Posts: 34
Joined: Tue Aug 14, 2007 7:43 am

Post by sbonnefo »

I can not upload the data.tar file ... I will put it on your FTP site!
sbonnefo
Posts: 34
Joined: Tue Aug 14, 2007 7:43 am

Post by sbonnefo »

Using data_sylvette.tar
admin
Site Admin
Posts: 841
Joined: Mon Aug 13, 2007 11:48 am
Location: ISTerre
Contact:

Post 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.
sbonnefo
Posts: 34
Joined: Tue Aug 14, 2007 7:43 am

Post by sbonnefo »

Waou! Tricky bug!
admin
Site Admin
Posts: 841
Joined: Mon Aug 13, 2007 11:48 am
Location: ISTerre
Contact:

Post 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).
Post Reply