ANS is a python wrapper for ambient noise seismology tasks and it has a GUI for easier configuration of ambient-noise seismology projects. In its backend, this package depends on Perl interpreter, GMT (Generic Mapping Tools), and SAC (Seismic Analysis Code) as well as python modules including ObsPy etc.
*ANS is successfully tested on Python 3.6.* and 3.8.* versions.
Code owners:
This version includes all the necessary commands and tools for generating Rayleigh wave (ZZ and RR cross-correlations) and Love wave (TT cross-correlation component) Empirical Green's Functions (EGFs). A brief description of the most useful CLI commands is given below:
$> ans init maindir
maindir
"
$> ans config
$> ans config --maindir maindir
maindir
is $PWD $> ans download stations
$> ans download stations --maindir maindir
'$> ans config'
. $> ans download metadata
$> ans download metadata --maindir maindir
$> ans download metadata --update_stations
--update_stations
' is appended, program will update the list of stations based on the content of metadata directory when the process is finished. $> ans download mseeds
$> ans download mseeds --maindir maindir
$> ans mseed2sac mseeds_dir sacs_dir
$> ans mseed2sac mseeds_dir sacs_dir --all
mseeds_dir:
input mseed dataset directorysacs_dir:
output sac files dataset directory--all:
do not pay attention to station list and output all $> ans sac2ncf sacs_dir ncfs_dir
$> ans sac2ncf sacs_dir ncfs_dir --all
sacs_dir:
input sac files dataset directoryncfs_dir:
output ncf files dataset directory--all:
do not pay attention to station list and output all $> ncf2egf ncfs egfs_dir
ncfs:
either path to the 'ncfs_dir' (full stack EGFs) or an ASCII datalist with a one-column data format containing a list of paths to event directories (seasonal EGFs; e.g., "14001000000" i.e. 2014/01/01)egfs_dir:
output egf files dataset directory