Access Data

Cloud Hosted Archive

Getting Started With SCEDC AWS Public Dataset

This section describes some quick examples how to start using the SCEDC dataset. An AWS account is not required to access the dataset, but you may need to install some of the utilities mentioned below. If you want to use other AWS tools with the Open Dataset you will need to have an AWS account.

AWS CLI

The AWS Command Line Interface is Amazon's utility command line access AWS resources and allows you to navigate and retrieve files similar to a UNIX file system. We recommend installing this on your system to get started (see AWS CLI User Guide under References).

After you have installed the utility, on your terminal command line you can the following command to see the contents of the SCEDC Dataset.

>aws s3 ls --no-sign-request s3://scedc-pds/
                           PRE FDSNstationXML/
                           PRE Ridgecrest_DAS/
                           PRE continuous_waveforms/
                           PRE earthquake_catalogs/
                           PRE event_phases/
                           PRE event_waveforms/
                           PRE indexmap/
2019-12-18 09:50:20       2041 README
>
	

AWS CLI has other commands such as cp, sync. The command below copies the FDSN StationXML file for station CI.OSI, located in the Open Dataset bucket s3://scedc-pds, to the user's current directory. you can run the following command

>aws s3 cp --no-sign-request s3://scedc-pds/FDSNstationXML/CI/CI_OSI.xml .
download: s3://scedc-pds/FDSNstationXML/CI/CI_OSI.xml to ./CI_OSI.xml
>
	

Python Boto3

Boto3 is the AWS SDK for Python. See References for documentation.
The snippet below is available on the tutorials page in the SCEDC GitHub repo (See References).

References