Skip to content

Error in dispersion analysis & Cross correlational #341

@Pragnath

Description

@Pragnath

Hi ,

I’ve followed the NoisePy tutorial and successfully completed the correlation computation and stacking. I have observed that even when the auto correlational is off config.acorr_only = False; config.xcorr_only = True, it is being computed and saved and is included in stacking.

Apart from that, i was trying to run dispersion but extract_dispersion function is not defined in the program. So, i copied the extract_dispersion function from function_2019/noise_module.py, but there was an error.

Error while running 'dispersion_analysis.py'

Checking if file exists: /home/light/softwares/NoisePy/converted_mseed/STACK/AR.LAKH/AR.ADHO/2020_04_09_00_00_00T2020_04_13_00_00_00.h5
Traceback (most recent call last):
File "/home/light/miniconda3/envs/noisepy_mpi/lib/python3.10/site-packages/pyasdf/utils.py", line 523, in getitem
return self.getattr(item)
File "/home/light/miniconda3/envs/noisepy_mpi/lib/python3.10/site-packages/pyasdf/utils.py", line 518, in getattr
raise AttributeError
AttributeError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/light/softwares/NoisePy/src/noisepy/imaging/dispersion_analysis.py", line 81, in
maxlag = ds.auxiliary_data[dtype]["ZZ"].parameters["maxlag"]
File "/home/light/miniconda3/envs/noisepy_mpi/lib/python3.10/site-packages/pyasdf/utils.py", line 525, in getitem
raise KeyError(str(e))
KeyError: ''

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/light/softwares/NoisePy/src/noisepy/imaging/dispersion_analysis.py", line 85, in
raise ValueError(e)
ValueError: ''
Exception ignored in: <function ASDFDataSet.del at 0x77cf6d9e8700>
Traceback (most recent call last):
File "/home/light/miniconda3/envs/noisepy_mpi/lib/python3.10/site-packages/pyasdf/asdf_data_set.py", line 308, in del
TypeError: 'NoneType' object is not callable

Could you give some guidance or suggestions on how to proceed? Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions