• Antelope Release 5.5 Linux 2.6.32-220.el6.x86_64 2015-04-21

 

NAME

smc2db - convert SMC format data to CSS3.0 database

SYNOPSIS

smc2db input_file [input_file..[input_file..[..]]] output_db

SUPPORT


Contributed code: NO BRTT support.
THIS PIECE OF SOFTWARE WAS CONTRIBUTED BY THE ANTELOPE USER COMMUNITY. BRTT DISCLAIMS ALL OWNERSHIP, LIABILITY, AND SUPPORT FOR THIS PIECE OF SOFTWARE.

FOR HELP WITH THIS PIECE OF SOFTWARE, PLEASE CONTACT THE CONTRIBUTING AUTHOR.

DESCRIPTION

This program reads in an arbitrary number of SMC format input files and writes out origin, event, site, and wfdisc tables. A database will be created if necessary, otherwise data will be appended to existing database.

OPTIONS

No options.

FILES

Input file(s) should be SMC format [http://nsmp.wr.usgs.gov/smcfmt.html]. Output is a CSS3.0 schema database.

ENVIRONMENT

No special environment variables.

PARAMETER FILE

No parameter file.

EXAMPLE

smc2db /path/to/smc_data_dir/* /path/to/dbout

RETURN VALUES Command returns 0 for normal execution, -1 otherwise.

ATTRIBUTES

Not thread safe.

BUGS AND CAVEATS

The current mapping from SMC format to CSS3.0 is incomplete and wfdisc.calib values are set to 1. This program was written to convert strong-motion data for a small number of sites and has not been thoroughly tested. Further development will be undertaken only if a user-base and demand exists.

AUTHOR

Malcolm White (mcwhite@ucsd.edu) - February, 2014
Antelope User Group Contributed Software
Printer icon