prateekmondal / sactools Goto Github PK
View Code? Open in Web Editor NEWThis project forked from msthorne/sactools
Some tools for interacting with Seismic Analysis Code (SAC) files.
License: GNU General Public License v3.0
This project forked from msthorne/sactools
Some tools for interacting with Seismic Analysis Code (SAC) files.
License: GNU General Public License v3.0
SACTOOLS #------------------------------------------------------------------------------------# This is a group of stand-alone tools that act on Seismic Analysis Code (SAC) formatted files. This group of tools deals with conversion of SAC files back and forth between SAC and ASCII files, retrieving header information from SAC files on the command line, and same basic tasks such as stacking files. In this README I provide a *very* brief description of the utilities included in this repository. For more details on the use of these utilities see the examples in the './examples' directory. The examples directory includes a few SAC formatted files and some C-shell scripts that can be used to test that the programs are working. Author: Michael Thorne ([email protected]) #------------------------------------------------------------------------------------# # Fortran codes currently included in the repository: #------------------------------------------------------------------------------------# 1) addnoise (addnoise.f90) - add colored noise to SAC files. 2) amp2sac (amp2sac.f90) - takes a column of amplitude values in ASCII and converts these to SAC format. 3) mavg (mavg.f90) - computes a n-point moving average on a SAC file. 4) prem (prem.f90) - returns values from the PREM model. 5) radiussort (radiussort.f90) - search for SAC files within a specifice radius of a specified lat, lon. 6) rmserror (rmserror.f90 ) - compute RMS error between data and synthetic. 7) sac2xy (sac2xy.f90) - converts a SAC file into an x,y table of time and amplitude. 8) sac2xyfill (sac2xyfill.f90) - same as sac2xy but fills in the positive amplitudes. 9) sachead (sachead.f90) - return the value of a SAC header variable. 10) sacmax (sacmax.f90) - finds maximum/minimum amplitudes (and corresponding times) within a set time window in a SAC file. 11) sacpeaks (sacpeaks.f90) - finds maxima/minima (tunable) in a SAC file. 12) sacsnr (sacsnr.f90) - compute estimate of signal to noise ratio in SAC file. 13) sacunused (sacunused.f90) - sets 'unused' header variables in SAC files. 14) stacksac (stacksac.f90) - linearly stack some SAC files. 15) stacksacgc (stacksacgc.f90) - takes a group of SAC files and stacks them in epicentral distance bins. 16) stacksacaz (stacksacaz.f90) - Stack a group of SAC files in azimuth bins. 17) stalta (stalta.f90) - computes STA/LTA of a SAC file. 18) varstack (varstack.f90) - Stack SAC files using the variance of the noise as weights. 19) xy2sac (xy2sac.f90) - convert an x,y table of time and amplitude values into a SAC file. # Modules included in the repository #------------------------------------------------------------------------------------# 1) mod_sac_io.f90 - authored by Nicholas Schmerr. Fortran module for reading/ writing SAC files 2) getprem_mod.f90 - module for calculating PREM values. # C-Shell utilities included #------------------------------------------------------------------------------------# 1) statmap - quick and dirty event/station plotting. For when you just want to see where the events and stations for data in the cwd are located.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.