Collection of scripts to help manage CGRM-DMC database.
- Python >= 3.4
- Obspy >= 1.0.2
- SAC
- GMT5
- catalog_released.csv: event catalog used in scripts
- database.csv: event catalog used in SQL database
- CENC.info: path info of database
- CN-border-La.dat: China boundary used in plot_event_map.pl and plot_station_map.sh
- mismatch.txt: mismatch between database and response
- station.revision.txt: station information (Confidential data!!!)
mseed2sac.py
: cut event data in SAC format from continuous waveform database in miniSEED formatcatalog2database.py
: convert catalog_released.csv to database.csvrewrite_sac.py
: read and rewrite SAC files to fix epicentral distance difference between obspy and SACpath_info.pl
: extract path info of databaseplot_event_map.pl
: distribution of eventsplot_station_map.sh
: distribution of stationscheck_header.pl
: check and modify header of Level1 database (memory issues)check_header1.pl
: check and modify header of Level1 database (withcheck_header2.pl
)check_header2.pl
: check and modify header of Level1 database (withcheck_header1.pl
)check_mismatch.pl
: check mismatch between database and response.
- Move data to
/data/Level1
- Add event catalog to
catalog_realeased.csv
- Run
catalog2database.py
to generatedatabase.csv
- Run
plot_event_map.pl
to generate event map - Update SQL database with the lastest
database.csv
- Update event map on web
- Send email notification and add news on web
- 2017-05-12: Add tool of trimming data and other drawing scripts
- 2018-01-31: Add script of checking and modifying header of Level1 database
- 2018-02-03: Add station information at
./info/station.revision.txt
- 2018-03-31: Add path information at
./info/CENC.info
- 2018-03-31: Update about scripts of checking and modifying header of Level1 database