DATASET_DIR

src/dataset.ts
DATASET_DIR

Type: string

DOT_ZIP_EXT

src/dataset.ts
DOT_ZIP_EXT

Type: string

ZIP_FILENAME

src/dataset.ts
ZIP_FILENAME

SEISMOGRAM_DIR

src/dataset.ts
SEISMOGRAM_DIR

Type: string

CATALOG_FILE

src/dataset.ts
CATALOG_FILE

Type: string

INVENTORY_FILE

src/dataset.ts
INVENTORY_FILE

Type: string

new Dataset()
Instance Members
catalog
inventory
waveforms
processedWaveforms
extra
saveToZipFile(filename)
waveformsToMSeed3()
merge(other)
associateQuakes(timeOverlapSecs)
associateChannels()
load(url: string): Promise<Dataset>
Parameters
url (string)
Returns
Promise<Dataset>

loadFromFile

src/dataset.ts
loadFromFile(file: File): Promise<Dataset>
Parameters
file (File)
Returns
Promise<Dataset>

loadFromZip

src/dataset.ts
loadFromZip(zip: JSZip): Promise<Dataset>
Parameters
zip (JSZip)
Returns
Promise<Dataset>

sddFromMSeed3

src/dataset.ts
sddFromMSeed3(ms3records: Array<mseed3.MSeed3Record>, ds: Dataset?): Array<SeismogramDisplayData>
Parameters
ms3records (Array<mseed3.MSeed3Record>)
ds (Dataset?)
Returns
Array<SeismogramDisplayData>

insertExtraHeaders

src/dataset.ts
insertExtraHeaders(eh: Record<string, any>, sdd: SeismogramDisplayData, key: string, ds: Dataset?)
Parameters
eh (Record<string, any>)
sdd (SeismogramDisplayData)
key (string)
ds (Dataset?)

createExtraHeaders

src/dataset.ts
createExtraHeaders(key: string, sdd: SeismogramDisplayData): Record<string, any>
Parameters
key (string)
sdd (SeismogramDisplayData)
Returns
Record<string, any>