[Antelope] dbdec problem

Jennifer Eakins jeakins at ucsd.edu
Fri Jan 30 18:03:27 CST 2009


Hi Josh,

I am not an expert on dbdec, but I would make sure that your input  
database actually has information for STA1.  You might have a problem  
with the descriptor file for DBIN such that it does not find your  
sensor table.  Try the following:

% dbfilenames -v DBIN

Your output should look similar to this example:

% dbfilenames /opt/antelope/data/db/demo/demo

database: /opt/antelope/data/db/demo/demo
schema: css3.0
path:     ./{demo}
locking:  local
idserver:

     relation    #rows w? add?  filename
affiliation        13 n   n /opt/antelope/data/db/demo/demo.affiliation
arrival            12 n   n /opt/antelope/data/db/demo/demo.arrival
assoc               9 n   n /opt/antelope/data/db/demo/demo.assoc
instrument         22 n   n /opt/antelope/data/db/demo/demo.instrument
lastid              1 n   n /opt/antelope/data/db/demo/demo.lastid
netmag              5 n   n /opt/antelope/data/db/demo/demo.netmag
network             1 n   n /opt/antelope/data/db/demo/demo.network
origin           1351 n   n /opt/antelope/data/db/demo/demo.origin
sensor             39 n   n /opt/antelope/data/db/demo/demo.sensor
site               13 n   n /opt/antelope/data/db/demo/demo.site
sitechan           39 n   n /opt/antelope/data/db/demo/demo.sitechan
stamag              4 n   n /opt/antelope/data/db/demo/demo.stamag
wfdisc             18 n   n /opt/antelope/data/db/demo/demo.wfdisc


You want to make sure you can see the sensor table in this list.  If  
not, make sure your descriptor file is correct.

Next, check to make sure STA1 is in the sensor table.  The error  
message is generated if there are no sensor table records after the  
subset, sta=~/STA1/, is applied.

I suspect that because this sensor information is not available the  
decimation is not successful.

--Jennifer




On Jan 30, 2009, at 3:59 PM, Josh Calkins wrote:

> Hi all,
>
> I'm having problems getting reasonable output from dbdec, and  
> starting to wonder
> if it's a platform or byte swapping issue.  Starting with 50sps  
> data, I'm
> applying 3 decimation stages in an attempt to get to 1sps.  Dbdec  
> runs with an
> error:
>
>> dbdec -sift "sta=~/STA1/" -wfdir LP DBIN DBOUT  
>> LHN=BHN_01,LHE=BHE_01,LHZ=BHZ_01
> RT72A_5_s RT72A_5_s RT72A_2_f
>
> Total decimation factor = 50
> Processing 1 out of 1 waveform segments.
> Looking for waveform file conflicts...OK
> fixup_tables: No input sensor rows.
> dbdec: fixup_tables() error.
>
> A new seed file and DB are created, but the resulting data look like  
> electronic
> noise, with nonsensical amplitudes.  As far as I can tell, my DB is  
> in good
> shape and the decimation stage response files I'm using are  
> appropriate.  I'm
> running Antelope on an Intel Mac, OS X v 10.5.6, and haven't  
> encountered any
> other strange behaviors.
>
> Any ideas?
>
> Thanks,
> Josh
>
>
>
> _______________________________________________
> Antelope mailing list
> Antelope at brtt.net
> http://brtt.net/mailman/listinfo/antelope_brtt.net




More information about the Antelope mailing list