-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #234 from Lachlan-Adams/develop
Addition of Source Specific Station Term (SSST) earthquake relocation algorithm.
- Loading branch information
Showing
28 changed files
with
5,719 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 14 additions & 2 deletions
16
seismic/catalogue/download_catalogues/download_ISC/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,32 @@ | ||
# Description | ||
This script will download data from the ISC web services portal. | ||
|
||
|
||
# download_isc.py | ||
This script will download catalogues of events from the ISC web services portal, and produce .xml files in the QuakeML format. | ||
|
||
Arguments: | ||
|
||
Arguments | ||
--------- | ||
- bbox: Bounding box, specified as "min_lon min_lat max_lon max_lat". | ||
|
||
- start_date: Start date in format YYYY-MM-DD. | ||
|
||
- start_time: Start time in format hh:mm:ss. | ||
|
||
- end_date: End date in format YYYY-MM-DD. | ||
|
||
- end_time: End time in format hh:mm:ss. | ||
|
||
- mag_range: Magnitude range, specified as "min_mag max_mag". | ||
|
||
- output_path: Directory in which to save output xml files. | ||
|
||
- split_by_day: If true, one xml file will be produced for each day in the time span, or if else, each month in the time span. | ||
|
||
Usage: | ||
|
||
Usage | ||
----- | ||
> | ||
> python download_isc.py --output_path ~ --start_date YYYY-MM-DD --start_time hh:mm:ss --end_date YYYY-MM-DD --end_time hh:mm:ss --bbox min_lon min_lat max_lon max_lat --mag_range min_mag max_mag --split_by_day True | ||
> |
11 changes: 6 additions & 5 deletions
11
seismic/catalogue/download_catalogues/download_ISC/download_isc.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 24 additions & 5 deletions
29
seismic/catalogue/download_catalogues/download_USGS/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,52 @@ | ||
# Description | ||
These scripts will download catalogues of events from the USGS web services portal. | ||
|
||
|
||
# download_usgs_hypocentres.py | ||
This script will download hypocentres for events on the USGS database. | ||
|
||
Arguments: | ||
|
||
Arguments | ||
--------- | ||
- bbox: Bounding box, specified as "min_lon min_lat max_lon max_lat". | ||
|
||
- start_date: Start date in format YYYY-MM-DD. | ||
|
||
- start_time: Start time in format hh:mm:ss. | ||
|
||
- end_date: End date in format YYYY-MM-DD. | ||
|
||
- end_time: End time in format hh:mm:ss. | ||
|
||
- mag_range: Magnitude range, specified as "min_mag max_mag". | ||
- output_path: Directory in which to save output xml files. | ||
|
||
- output_path: Directory in which to save output files. | ||
|
||
- output_format: Desired save file format. Possible values are 'csv', 'xml', 'text'. | ||
|
||
Usage: | ||
|
||
Usage | ||
----- | ||
> | ||
> python download_usgs_hypocentres.py --output_path ~ --start_date YYYY-MM-DD --start_time hh:mm:ss --end_date YYYY-MM-DD --end_time hh:mm:ss --bbox min_lon min_lat max_lon max_lat --mag_range min_mag max_mag --output_format format | ||
> | ||
|
||
# download_usgs_quakeml.py | ||
This script will download quakeml files for events on the USGS database. Events on this database are stored in .zip files spanning a week each. There is no way to filter the returned events except by origin time. The script connects to ftp://hazards.cr.usgs.gov/ and extracts events from directory /NEICPDE/quakeml/. | ||
|
||
Arguments: | ||
|
||
Arguments | ||
--------- | ||
- start_date: Start date in format YYYY-MM-DD. | ||
|
||
- end_date: End date in format YYYY-MM-DD. | ||
|
||
- output_path: Directory in which to save output xml files. | ||
|
||
Usage: | ||
|
||
Usage | ||
----- | ||
> | ||
> python download_usgs_catalogue.py --output_path ~ --start_date YYYY-MM-DD --end_date YYYY-MM-DD | ||
> |
9 changes: 4 additions & 5 deletions
9
seismic/catalogue/download_catalogues/download_USGS/download_usgs_hypocentres.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 6 additions & 5 deletions
11
seismic/catalogue/download_catalogues/download_USGS/download_usgs_quakeml.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -136,4 +136,4 @@ Usage | |
----- | ||
> | ||
> python3 Order_csv_output_by_date.py --input_file ~ --output_file ~ | ||
> | ||
> |
Oops, something went wrong.