Links to Online Software

(To download, PC users should right-click and choose "Save Target As...")

Users should be aware of the following disclaimer: Although these programs have been used by the U.S. Geological Survey, no warranty, expressed or implied, is made by the USGS as to the accuracy and functioning of the programs and related program material, nor shall the fact of distribution constitute any such warranty, and no responsibility is assumed by the USGS in connection therewith.

The disclaimer applies even more than usual to these programs. The programs are part of evolving packages and are provided solely for the convenience of the user. I would like to hear about bugs, but please do not ask me for software support.

Return to home page

 

NGA_GM_TMR (Next Generation Attenuation Ground Motions for specified period (T), Magnitude, and distance (R)

Revised version: 18 March 2011

Click here for notes concerning the program including sample input and output. Click here for a zip file containing all necessary program files, coefficient files, and sample input and output files.

 

SMSIM (Stochastic-Method SIMulation)

The SMSIM software was updated 07 December 2011. Note that the params file was changed. The params files now include the names of the files containing the coefficients for the Boore and Thompson (2012) (BT12) modification of RV simulation results. These files are named "ena_bt12_trms4osc.pars" and "wna_bt12_trms4osc.pars". In the params files the folder "\smsim\" is included as part of the file names. There are several options to make sure that the program can find the BT12 files: 1) put the BT12 files in a folder named "smsim"; 2) put the files into your working folder and remove the folder designation from the file names in the params file; 3) specify the folder in which the files are located. I have not tested all drivers that read the changed params file. Please contact me if something seems not to be working.

For SMSIM, download the Read Me File file (19 Kb), the Manual (1.1 Mb) [Note: The manual has not been updated to incorporate the latest changes, but most things in the existing manual are OK. I advise looking at the readme.txt file (in particular, the last entry lists the important driver programs used for simulations) and the comment lines at the beginning of the Fortran source code for each program for more up-to-date information. One important change: the files containing parameters for a run have the extension "params" rather than "dat". For example, the file used to create the examples in the manual is "ofr.params", where "ofr" stands for "Open-File Report" and "params" stands for "parameters"], the zip files containing Stochastic-Method Simulation software (6.6 Mb) and Site Amplification software (2.6 Mb) (the site amplification programs were updated on 16 September 2011, but files might be missing. If so, contact me.).

Note that I am using a new method for keeping track of which files to include in the distribution zip file. If some source code is missing, please contact me. Be aware that some of the Fortran files, such as rv_subs.for, td_subs.for, rv_td_subs.for, smsim_util_subs.for, ff_subprograms.for, and recipes.for are collections of subprograms used by the SMSIM programs; these collections of subprograms are added to the source code of the main programs by use of INCLUDE statements.

For EXSIM_DMB, download a zip file containing the source code, the executable file, site and crustal amplification input files, the parameter file, and the output files produced by running the program with the parameter file. Also included is my paper published in Bull. Seismol. Soc. Am. describing the modifications I have made to D. Motazedian's program EXSIM. (Updated on 19 December 2011. The only thing different than the 01 December version is that the exe file was created using full optimization. The 01 December version featured a major change in the format of the params file and corrections to the reading of crustal and site amplifications (thanks to Andreas Skarlatoudis for pointing out the bug)).

 

Programs to calculate fault-to-station distances

Updated 27 September 2010 (include computation of azimuths from ends of fault (called az_jb), for use in evaluating the NGA GMPEs using the program NGA_GM_TMR).

Click here for a zip files containing programs for computing various distance measures between a station and a finite fault; also included are programs to compute the distance between two points specified by their latitudes and longitudes, as well as other useful programs, such as those for converting between kilometers and degrees (useful when the vertices of a fault's surface projection are in terms of kilometers on a cartesian grid, rather than latitude and longitude, and vice versa).

 

TSPP---A Collection of FORTRAN Programs for Processing and Manipulating Time Series [revised 13 July 2011]

The zip files accompanying the Open-File Report 2008-1111 can be obtained from the links below. Note that the revision of the manual is lagging behind the program revisions, and for that reason some of the control files in the examples in the Open-File Report may not correspond exactly to the current control files (e.g., smc2fs2.ctl).

Note that these programs keep evolving, and I often find that changes are needed as I use particular programs in various projects. For my convenience, and to make sure that the latest versions of the programs are on my web site, I use a batch command file to create new zip files for all of the programs, even if only a few have been modified (e.g., on 20 December 2010 I modified only the smc_detrend processing program, but I created v.2.38 of all the files). It is too hard for me to keep a change log for all of the programs in a single file, so I recommend that users download the latest zip files and simply overwrite the previous files. If a file is missing, please let me know.