gwpy / gwsumm

Gravitational-wave interferometer summary information system
GNU General Public License v3.0
12 stars 23 forks source link

Frame files error GEO600 #394

Open TomislavAndricGW opened 7 months ago

TomislavAndricGW commented 7 months ago

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 commented 7 months ago

@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>