| Prototype: | |||||||
| Source File: | src/libsrc/util/rw_strongmotionII.c | ||||||
| Description: | Writes the contents of a SM_INFO structure to an Earthworm log file. | ||||||
RETURN CODE INFO | |||||||
| Return Type: | void | ||||||
PARAMETER INFO | |||||||
| |||||||
| Group: | EW_LIBSRC | ||||||
| Sub Group: | RW_STRONGMOTION_II | ||||||
| Language: | C | ||||||
| Location: | ./include/rw_strongmotionII.h | ||||||
| Prototype: | |||||||||||||
| Source File: | src/libsrc/util/rw_strongmotionII.c | ||||||||||||
| Description: | This function reads an ascii TYPE_STRONGMOTION2 message and fills in a SM_INFO structure. It returns 0 on success, -1 on failure. | ||||||||||||
| Note: | Example of a TYPE_STRONGMOTION2 message. SCNL: CMB.BHZ.BK. TIME: 2001/02/25 02:37:00.000 ALT: 2001/02/25 02:40:40.000 CODE: 1 PGA: 6.846210 TPGA: 2001/02/25 02:37:00.000 PGV: 0.140000 TPGV: 2001/02/25 02:37:00.000 PGD: 0.000000 TPGD: 2001/02/25 02:37:00.000 RSA: 3/0.30 4.415404/1.00 0.925639/3.00 0.297907 QID: 41059467 014024003:UCB |
||||||||||||
RETURN CODE INFO | |||||||||||||
| Return Type: | int | ||||||||||||
| |||||||||||||
PARAMETER INFO | |||||||||||||
| |||||||||||||
| Group: | EW_LIBSRC | ||||||||||||
| Sub Group: | RW_STRONGMOTION_II | ||||||||||||
| Language: | C | ||||||||||||
| Location: | ./include/rw_strongmotionII.h | ||||||||||||
| Prototype: | |||||||||||||
| Source File: | src/libsrc/util/rw_strongmotionII.c | ||||||||||||
| Description: | Reads a SM_INFO structure and writes an ascii TYPE_STRONGMOTION2 message (null terminated). It returns 0 on success, and -1 on failure. See rd_strongmotion for an example of a TYPE_STRONGMOTION2 message. | ||||||||||||
RETURN CODE INFO | |||||||||||||
| Return Type: | int | ||||||||||||
| |||||||||||||
PARAMETER INFO | |||||||||||||
| |||||||||||||
| Group: | EW_LIBSRC | ||||||||||||
| Sub Group: | RW_STRONGMOTION_II | ||||||||||||
| Language: | C | ||||||||||||
| Location: | ./include/rw_strongmotionII.h | ||||||||||||