read '.sgs' ground motion files

03-Unexpected behaviour/errors
Post Reply
zbhu
Posts: 3
Joined: 16 Oct 2016, 02:41

read '.sgs' ground motion files

Post 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
Last edited by zbhu on 16 Oct 2016, 03:23, edited 1 time in total.
zbhu
Posts: 3
Joined: 16 Oct 2016, 02:41

Re: read '.sgs' ground motion files

Post by zbhu »

Image
huffte
Posts: 978
Joined: 22 Jul 2011, 10:19
Location: Cookeville, Tennessee, USA
Contact:

Re: read '.sgs' ground motion files

Post 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.
Tim Huff
zbhu
Posts: 3
Joined: 16 Oct 2016, 02:41

Re: read '.sgs' ground motion files

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

Return to “03-Unexpected behaviour/errors”