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?
read '.sgs' ground motion files
read '.sgs' ground motion files
Last edited by zbhu on 16 Oct 2016, 03:23, edited 1 time in total.
Re: read '.sgs' ground motion files
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.
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
Re: read '.sgs' ground motion files
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.