d-chambers / Detex

A Python package for subspace detection and waveform similarity clustering
Other
32 stars 6 forks source link

Can no longer get hypoDD times #35

Closed kpankow closed 8 years ago

kpankow commented 8 years ago

I used a standard TemplateKey from an earthquake catalog. I first ran cl = detex.createCluster(CCreq=0.68,trim=[5,30],fetch_arg='../EventWaveForms',fileName='clustDD.pkl',enforceOrigin=True) and then

cl.writeSimpleHypoDDInput(minCC=0.70) Traceback (most recent call last):

File "", line 1, in cl.writeSimpleHypoDDInput(minCC=0.70)

File "/home/pankow/anaconda/lib/python2.7/site-packages/detex/subspace.py", line 110, in writeSimpleHypoDDInput trdf = self.TRDF[self.TRDF.Station == sta].iloc[0]

AttributeError: 'ClusterStream' object has no attribute 'TRDF'