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

Frame files error GEO600 #394

Open
TomislavAndricGW opened this issue Feb 8, 2024 · 1 comment
Open

Frame files error GEO600 #394

TomislavAndricGW opened this issue Feb 8, 2024 · 1 comment

Comments

@TomislavAndricGW
Copy link

We would like to use the frame files. In testing with a small ini file for ‘gw_summary day', I get error messages about not being able to determine the datafind server:
ValueError: Failed to determine default gwdatafind host, please pass manually or set the GWDATAFIND_SERVER environment variable
Is there a way to block gw-summary from trying datafind when using a framecache?

I suppose that my framecache file is not formatted properly, so it’s using trying to use datafind as a backup. I get a message that seems to indicate that it’s being loaded ok, but then something happens when it’s looking for the frames apparently:

gw_summary 2024-02-08 10:11:38 CET INFO: Loaded 1 tabs [1 parents overall]
gw_summary 2024-02-08 10:11:38 CET INFO: Reading datacache from 1 files...
gw_summary 2024-02-08 10:11:38 CET DEBUG: Done [5426 entries]
gw_summary 2024-02-08 10:11:49 CET DEBUG: Processing Summary
States finalised [1 total]
all: 1 segments | 86400 seconds [DEFAULT]
Processing 'all' state:
1 channels identified for TimeSeries
Finding G-M frames for [1391299218, 1391385618)...Traceback (most recent call last):

The cache file I’m using, I produced from a simple python script that isn’t actually checking each entry to see if the file is there. But all the entries should be files that exist and cover the entire day of interest.

raw data formatted like:
G1 A6 1391202000 16 file://localhost/data/full/13912/G-R-1391202000-16.gwf

and trend data like:
G1 A6 1391360400 3600 file://localhost/var/tmp/data/trend/minute/13913/G-M-1391360400-3600.gwf

@eagoetz
Copy link
Collaborator

eagoetz commented Feb 15, 2024

@TomislavAndricGW Can you provide the basic ingredients to reproduce this error? Configuration file, frame cache file, command line used. That will help me be able to debug or diagnose this error.

Also you may try using the python debugger to help understand.

python -m pdb -m gwsumm <args>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants