Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

read basic catalog using csv.reader #90

Open
wsavran opened this issue Mar 16, 2021 · 0 comments
Open

read basic catalog using csv.reader #90

wsavran opened this issue Mar 16, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@wsavran
Copy link
Collaborator

wsavran commented Mar 16, 2021

if the user has a csv file named 'my_catalog.csv' with the form

event_id, time, lon, lat, depth, mag

they should be able to read their catalog in using the following command. right now, loaders that are generator functions are not supported.

import csv
cat = csep.load_catalog('my_catalog.csv', loader=csv.reader)
@wsavran wsavran added the enhancement New feature or request label Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant