Navigation: Ground Motion Library (QuakeLibrary) > Supported File Formats >

Generic File Format

 

 

 

QuakeManager offers a Generic File Format with flexible formatting for general purpose use.

 

The file must have between 1 and 4  header lines followed by the acceleration data.

 

The last header line should list the number of points (NPTS) and timestep (DT), following one of these formats:

... NPT(S) = integer, DT = decimal ....

or

... NPT(S) = integer, Tstep = decimal ...

In the above, the 'S' in NPTS is optional, so it is possible to specify NPT or NPTS.

It is very important that this line is the last line in the header and is directly followed by the acceleration data. Otherwise, the file will not be accepted.

 

If the count of the acceleration data in the file < NPTS, the file will not be accepted as a valid Generic file.

On the other hand, if the data count ≥ NPTS the file will be accepted, but only the first NPTS values will be read.

In Version 1.30 -> QuakeManager will allow the user to not define NPTS (set it to 0) in which case it would read all acceleration values in the file.

 

Units can be specified on any line such as the following:

ACCELERATION DATA IN UNITS OF (CM/S/S)

Any valid acceleration unit may be used such as G, IN/S/S, IN/S2, FT/S/S, FT/S2, CM/S/S, CM/S2, M/S/S, M/S2 etc...

If the unit is not defined, the default unit is assumed to be "G".

 

The acceleration data should come directly after the header.

There can be any number of values on each line, and different lines don’t have to have the same number of values.

 

See the link below as an example of a valid format. Other valid formats are possible as long as they satisfy the above requirements.

https://docs.google.com/viewer?a=v&pid=sites&srcid=ZGVmYXVsdGRvbWFpbnxxdWFrZW1hbmFnZXJ3aWtpfGd4OjU0YTlkYWVlZDJlZGRkOWM

 

 

 

Copyright © 2022 Earthquake Solutions