Page 1 of 1

read '.sgs' ground motion files

Posted: 16 Oct 2016, 03:07
by zbhu
Dear all,

A problem was encountered when reading a '.sgs' ground motion files, as shown in the picture below. How could I deal with it?


Image

Re: read '.sgs' ground motion files

Posted: 16 Oct 2016, 03:23
by zbhu
Image

Re: read '.sgs' ground motion files

Posted: 16 Oct 2016, 13:31
by huffte
Hi zbhu. The culprit is the comma separating time and acceleration in each line of data. There are multiple options to adjust for this.

Probably the easiest solution is as follows:

1. Open the data file with Windows WordPad.
2. Select the "Replace" tool from the top ribbon panel.
3. In the ensuing dialogue, enter a comma in the "Find what" box.
4. Enter a blank space in the "Replace with" box. You need to put the cursor in the box and hit the space bar. Don't just leave the box blank.
5. Select "Replace All" button.
6. Save the file.

It should now open fine in SeismoSignal. I tested it an it worked. Best of luck zbhu.

Re: read '.sgs' ground motion files

Posted: 19 Oct 2016, 03:18
by zbhu
Dear Tim, thank you very much for your answer. :)
Hi zbhu. The culprit is the comma separating time and acceleration in each line of data. There are multiple options to adjust for this.

Probably the easiest solution is as follows:

1. Open the data file with Windows WordPad.
2. Select the "Replace" tool from the top ribbon panel.
3. In the ensuing dialogue, enter a comma in the "Find what" box.
4. Enter a blank space in the "Replace with" box. You need to put the cursor in the box and hit the space bar. Don't just leave the box blank.
5. Select "Replace All" button.
6. Save the file.

It should now open fine in SeismoSignal. I tested it an it worked. Best of luck zbhu.