Home| Content 
Appendix D

The CSF format.

Format name:  CSF - Catalog standard format. This is the bynary binary format each record of  it has the length of 32 bytes.
Institution:  MITPAN
Application:  CompiCat (Earthquake Catalog Processing Pakage)

col
len
format
name
Comment
1
2
i2
year
 Year
3
2
i2
month
Month
5
2
i2
day
Day
7
2
i2
hourr
Hour
9
2
i2
min
Minute
11
2
i2
sec
Second,  multiplied by 100
13
4
i4
latitude
Latitude,  degrees multiplied by 1000
17
4
i4
longitude
Longitude, degrees multiplied by 1000
21
2
i2
depth
Depth, km multiplied by 10
23
2
i2
magnitude
First  magnitude (m1) multiplied by 100
25
2
i2
magnitude
Second magnitude (m2) multiplied by 100
27
2
i2
magnitude
Third  magnitude (m3) multiplied by 100
29
2
i2
magnitude
Fourth magnitude (m4) multiplied by 100
31
2
i2
intensity
 Macroseismic intensity

NB: The first 4 bytes of the first record contain an integer, which is the total number of records in the file (the number of eartthquakes plus 1).
The second 4 bytes of the first record contain an "magic" number (32 bit  unsigned integer equal  0x97c73f12}. This number is used for identification of the CSF format.

Appendix D

Copyright ©  2008 MITPAN
ECP 1.3.0