-
Notifications
You must be signed in to change notification settings - Fork 56
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
Generating Fingerprint #23
Comments
Hi Spencer, Thanks for reaching out. This sounds like a config error, maybe due to relative path. Are your sac files under Kexin |
Thanks for getting back to me. Right now the sac files are under FAST/data/waveforms02/. We are currently only looking at a day's worth of data so we have eight different waveform folders and within each waveform there are three sac files, one for each channel. Are you suggesting moving the fp_input_.json files to the fingerprint folder or the subdirectory fingerprint folder under parameters?
Best,
Spencer
… On Nov 19, 2020, at 11:47 PM, Kexin Rong ***@***.***> wrote:
Hi Spencer,
Thanks for reaching out. This sounds like a config error, maybe due to relative path. Are your sac files under FAST/data/waveforms02/? The wrapper script (run_fp) basically cds in to the fingerprint folder, and run python gen_fp.py [fp_input_.json] from there. You can try the gen_fp script first, and if it gives the same error, you can start debugging from there.
Kexin
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#23 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQSRCUQCF6HDJQLYQ3QOFFLSQYGHXANCNFSM4T4AGAUQ>.
|
It's a bit hard for me to debug with only the provided information, but here is what I was suggesting: I also suggest that you change the relative path |
Hi,
I'm trying to replicate what you all have done to generate fingerprints but I'm running into an issue. I have generated a .json file for several .sac files containing the data to be used for generating the fingerprints. I edited a global_indices file to contain these fp_input_.json files as well a the config.json file. When running the code the same way you all do in the tutorial, "python run_fp.py -c config.json" I'm given an error saying there is no such directory. The specific error is as follows, "IOError: [Errno 2] No such file or directory: u'../data/waveforms02/Deci5.Pick.20200413000000.01.02.DPZ.sac'"
Do we need to direct it to the waveform file and not the .sac file?
Thanks for the help,
Spencer
The text was updated successfully, but these errors were encountered: