Skip to content

usgs/eq-convert-catalog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

eq-convert-catalog is a project designed to make it easy(er) to create QuakeML from a simple(ish) dictionary structure defining an earthquake origin, focal mechanism, or moment tensor.

Installation and Dependencies

To install:

pip install -U git+git://github.com/usgs/eq-convert-catalog.git

Uninstalling and Updating

To uninstall:

pip uninstall eq-convert-catalog

To update:

pip install -U git+git://github.com/usgs/eq-convert-catalog.git

Application Programming Interface (API) Usage

Usage for convertcat

usage: convertcat [-h] [--catalog CATALOG] [--contributor CONTRIBUTOR]
                  module folder datafiles [datafiles ...]

Convert input files to QuakeML and write to output folder.

positional arguments:
  module                The catalog format to parse. Supported file formats
                        are: dict_keys(['ndk', 'mloc', 'iscgem'])
  folder                The folder where output QuakeML should be written.
  datafiles             Specify the file or files that are to be parsed

optional arguments:
  -h, --help            show this help message and exit
  --catalog CATALOG     Specify the catalog to be inserted in the QuakeML.
  --contributor CONTRIBUTOR
                        Specify the contributor to be inserted in the QuakeML.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages