All

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 7

Namespace(data_directory='./projects/Rex_tst', tag='26042024.

03', stages=['all'])
INFO:root:Found cached global geolib.
INFO:root:############################################
INFO:root:# All Files found. Starting ANT modelling. #
INFO:root:############################################
INFO:root:input_rawdata_csv is 178337831 bytes
INFO:root:Computing CCF stack from ./projects/Rex_tst/input.csv
INFO:root:Parsing raw data csv ./projects/Rex_tst/input.csv
aperture: 6487.77 m
sta_spacing: 497.57 m
dist_avg: 2493.32 m
INFO:root:Removing outlier geodes: []
INFO:root:6.16 days of data from 2024-04-08 23:19:48 to 2024-04-15 03:08:24
aperture: 6487.77 m
sta_spacing: 497.57 m
dist_avg: 2493.32 m
100000
INFO:root:Filtering geo models, keeping 100000 / 4543642
1 / 100000 | 0.0 %
10001 / 100000 | 10.0 %
20001 / 100000 | 20.0 %
30001 / 100000 | 30.0 %
40001 / 100000 | 40.0 %
50001 / 100000 | 50.0 %
60001 / 100000 | 60.0 %
70001 / 100000 | 70.0 %
80001 / 100000 | 80.0 %
90001 / 100000 | 90.0 %
INFO:root:Total pairs: 2278
INFO:root:Min data overlap: 10.0
INFO:root:Total pairs with overlap: 2016
INFO:root:68 channels recording for 6.16 days
INFO:root:Nonzero (min/max) 0.3% / 99.5%
INFO:root:computing auto-parameters
INFO:root:calculating velocity ranges
INFO:root:calculating CCFs
1 / 443 | 0.0 %
23 / 443 | 5.0 %
45 / 443 | 9.9 %
67 / 443 | 14.9 %
89 / 443 | 19.9 %
111 / 443 | 24.8 %
133 / 443 | 29.8 %
155 / 443 | 34.8 %
177 / 443 | 39.7 %
199 / 443 | 44.7 %
221 / 443 | 49.7 %
243 / 443 | 54.6 %
265 / 443 | 59.6 %
287 / 443 | 64.6 %
309 / 443 | 69.5 %
331 / 443 | 74.5 %
353 / 443 | 79.5 %
375 / 443 | 84.4 %
397 / 443 | 89.4 %
419 / 443 | 94.4 %
441 / 443 | 99.3 %
INFO:root:Bootstrapping ccfs
1 / 50 | 0.0 %
6 / 50 | 10.0 %
11 / 50 | 20.0 %
16 / 50 | 30.0 %
21 / 50 | 40.0 %
26 / 50 | 50.0 %
31 / 50 | 60.0 %
36 / 50 | 70.0 %
41 / 50 | 80.0 %
46 / 50 | 90.0 %
/app/exoproc/utils.py:2464: ComplexWarning: Casting complex values to real discards
the imaginary part
icc = np.fft.ifft(fft_filt).astype(np.float64)
INFO:root:Generating bootstrap coherencies
1 / 2016 | 0.0 %
202 / 2016 | 10.0 %
403 / 2016 | 19.9 %
604 / 2016 | 29.9 %
805 / 2016 | 39.9 %
1006 / 2016 | 49.9 %
1207 / 2016 | 59.8 %
1408 / 2016 | 69.8 %
1609 / 2016 | 79.8 %
1810 / 2016 | 89.7 %
2011 / 2016 | 99.7 %
INFO:root:nthread = 16
INFO:root:Gen bootstrap coherencies took 15.37s
INFO:root:Calculating coherency errors
INFO:root:using 16 threads
INFO:root:################################
INFO:root:# Stage 1: Data pre-processing #
INFO:root:################################
INFO:root:############## Updating parameters ##############
INFO:root:Keeping parameter bad_nodes at []
INFO:root:Keeping parameter normalize_snr at False
INFO:root:Keeping parameter survey_area_pct at 100
INFO:root:Keeping parameter station_filter_distance at 0
INFO:root:Keeping parameter station_filter_tolerance at 0.3
INFO:root:Keeping parameter station_filter_z_score at -1.5
INFO:root:

INFO:root:Filtering geolib
100000
INFO:root:Filtering geo models, keeping 100000 / 4543642
1 / 100000 | 0.0 %
10001 / 100000 | 10.0 %
20001 / 100000 | 20.0 %
30001 / 100000 | 30.0 %
40001 / 100000 | 40.0 %
50001 / 100000 | 50.0 %
60001 / 100000 | 60.0 %
70001 / 100000 | 70.0 %
80001 / 100000 | 80.0 %
90001 / 100000 | 90.0 %
aperture: 6487.77 m
sta_spacing: 497.57 m
dist_avg: 2493.32 m
INFO:root:Parsing metadata
INFO:root:Using distance 793.0 for clustering.
INFO:root:Found cluster with label 0 with size 68
INFO:root:Loading stacked CCF file
INFO:root:Found 4 bad nodes from data coverage.
INFO:root:Removing 4 bad nodes.
aperture: 6487.77 m
sta_spacing: 507.94 m
dist_avg: 2553.96 m
/app/exoproc/utils.py:2464: ComplexWarning: Casting complex values to real discards
the imaginary part
icc = np.fft.ifft(fft_filt).astype(np.float64)
INFO:root:vel est: 2944 m/s | mean snr 40.99
INFO:root:Time in preprocessing stage: 17 seconds.
INFO:root:##########################################
INFO:root:# Stage 2: Fitting ccfs with bessel/ftan #
INFO:root:##########################################
INFO:root:############## Updating parameters ##############
INFO:root:Keeping parameter beamform_vel_limits at [300, 5000]
INFO:root:Keeping parameter bessel_fitting_algo at DOTPROD
INFO:root:Keeping parameter cc_frequency_band_hz at [0.5, 4]
INFO:root:Keeping parameter cc_error_cut at 0.2
INFO:root:Keeping parameter disp_gradient_keep at [500, 4000]
INFO:root:Keeping parameter fit_bessel_navg at 5
INFO:root:Keeping parameter fit_causal_index at 2
INFO:root:Keeping parameter fit_clean_min_periods_n at 2
INFO:root:Keeping parameter fit_freq_weight_scale at 1
INFO:root:Keeping parameter fit_ftan_navg at 0
INFO:root:Keeping parameter fit_min_snr at 20
INFO:root:Keeping parameter fit_whiten_ftan at True
INFO:root:Keeping parameter pmap_bess_min_score at 0.7
INFO:root:Keeping parameter pmap_freq_n at 20
INFO:root:Keeping parameter strong_source_auto_min_power at 0.95
INFO:root:Keeping parameter strong_source_dd_ratio_cut at 0.8
INFO:root:Keeping parameter wavelength_bessel_limits at [0.6, 12]
INFO:root:Keeping parameter wavelength_ftan_limits at [0.6, 12]
INFO:root:

INFO:root:Beamforming
INFO:root:source loc: [ 757250. 6173700.] | power 0.38
INFO:root:source loc: [ 757900. 6180200.] | power 0.41
INFO:root:source loc: [ 759850. 6176300.] | power 0.24
INFO:root:source loc: [ 765700. 6176950.] | power 0.12
INFO:root:Fitting 1816 / 2016 pairs
INFO:root:Fitting bessel using DOTPROD method
1 / 1816 | 0.0 %
91 / 1816 | 5.0 %
181 / 1816 | 9.9 %
271 / 1816 | 14.9 %
361 / 1816 | 19.8 %
451 / 1816 | 24.8 %
541 / 1816 | 29.7 %
631 / 1816 | 34.7 %
721 / 1816 | 39.6 %
811 / 1816 | 44.6 %
901 / 1816 | 49.6 %
991 / 1816 | 54.5 %
1081 / 1816 | 59.5 %
1171 / 1816 | 64.4 %
1261 / 1816 | 69.4 %
1351 / 1816 | 74.3 %
1441 / 1816 | 79.3 %
1531 / 1816 | 84.3 %
1621 / 1816 | 89.2 %
1711 / 1816 | 94.2 %
1801 / 1816 | 99.1 %
/app/exoproc/modelling_curve_fitting.py:491: RuntimeWarning: Mean of empty slice
pair_vels_combo = np.nanmean(tmp, 2)
/usr/local/src/miniconda3/lib/python3.10/site-packages/numpy/core/
fromnumeric.py:3432: RuntimeWarning: Mean of empty slice.
return _methods._mean(a, axis=axis, dtype=dtype,
/usr/local/src/miniconda3/lib/python3.10/site-packages/numpy/core/_methods.py:190:
RuntimeWarning: invalid value encountered in divide
ret = ret.dtype.type(ret / rcount)
INFO:root:Time in curvefitting stage: 3.0 minutes and 39 seconds.
INFO:root:#######################
INFO:root:# Stage 3: Phasemaps #
INFO:root:#######################
INFO:root:############## Updating parameters ##############
INFO:root:Keeping parameter grid_spacing_meters at 65
INFO:root:Keeping parameter mcmc_chains_mult at 1
INFO:root:Keeping parameter phasemap_algo at MCMC
INFO:root:Keeping parameter pmap_damp_target at 0.7
INFO:root:Keeping parameter pmap_smooth_nspacing at 1.4
INFO:root:Keeping parameter pmap_tt_res_gauss_ndev at 3
INFO:root:Keeping parameter pmap_tt_res_lims at [-30, 30]
INFO:root:Keeping parameter pmap_vmean_cut_ndev at 2.0
INFO:root:Keeping parameter pmap_voronoi_seed at raypathadaptive
INFO:root:

INFO:root: You have selected MCMC phase map inversion.


INFO:root:it: 0 |
0.53 Hz |
damp 0.00 |
rmse 8.89 % |
npair: 334
INFO:root:it: 1 |
0.59 Hz |
damp 0.00 |
rmse 9.22 % |
npair: 463
INFO:root:it: 2 |
0.65 Hz |
damp 0.00 |
rmse 9.46 % |
npair: 572
INFO:root:it: 3 |
0.73 Hz |
damp 0.00 |
rmse 9.40 % |
npair: 648
INFO:root:it: 4 |
0.81 Hz |
damp 0.00 |
rmse 9.84 % |
npair: 806
INFO:root:it: 5 |
0.90 Hz |
damp 0.00 |
rmse 10.14 % |
npair: 889
INFO:root:it: 6 |
1.00 Hz |
damp 0.00 |
rmse 10.31 % |
npair: 977
INFO:root:it: 7 |
1.11 Hz |
damp 0.00 |
rmse 10.36 % |
npair: 1065
INFO:root:it: 8 |
1.23 Hz |
damp 0.00 |
rmse 10.44 % |
npair: 1101
INFO:root:it: 9 |
1.37 Hz |
damp 0.00 |
rmse 10.50 % |
npair: 1142
INFO:root:it: 10 |
1.53 Hz |
damp 0.00 |
rmse 10.57 % |
npair: 1211
INFO:root:it: 11 |
1.70 Hz |
damp 0.00 |
rmse 10.52 % |
npair: 1245
INFO:root:it: 12 |
1.89 Hz |
damp 0.00 |
rmse 10.52 % |
npair: 1251
INFO:root:it: 13 |
2.10 Hz |
damp 0.00 |
rmse 10.45 % |
npair: 1274
INFO:root:it: 14 |
2.34 Hz |
damp 0.00 |
rmse 10.34 % |
npair: 1318
INFO:root:it: 15 |
2.60 Hz |
damp 0.00 |
rmse 10.26 % |
npair: 1336
INFO:root:it: 16 |
2.89 Hz |
damp 0.00 |
rmse 10.22 % |
npair: 1341
INFO:root:it: 17 |
3.21 Hz |
damp 0.00 |
rmse 10.22 % |
npair: 1345
INFO:root:it: 18 |
3.57 Hz |
damp 0.00 |
rmse 10.22 % |
npair: 1344
INFO:root:it: 19 |
3.97 Hz |
damp 0.00 |
rmse 10.22 % |
npair: 1338
INFO:root:Computing phasemap inversions
Using 61 Voronoi cells at frequency 0.53 and 300 nr of pairs
INFO:root:Incorrect seeding given: raypathadaptive
INFO:root:Incorrect seeding given: raypathadaptive
INFO:root:Incorrect seeding given: raypathadaptive
INFO:root:Incorrect seeding given: raypathadaptive
INFO:root:Incorrect seeding given: raypathadaptive
INFO:root:Incorrect seeding given: raypathadaptive
INFO:root:Incorrect seeding given: raypathadaptive
INFO:root:Incorrect seeding given: raypathadaptive
INFO:root:Incorrect seeding given: raypathadaptive
INFO:root:Incorrect seeding given: raypathadaptive
INFO:root:Incorrect seeding given: raypathadaptive
INFO:root:Incorrect seeding given: raypathadaptive
INFO:root:Incorrect seeding given: raypathadaptive
INFO:root:Incorrect seeding given: raypathadaptive
INFO:root:Incorrect seeding given: raypathadaptive
INFO:root:Incorrect seeding given: raypathadaptive
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/local/src/miniconda3/lib/python3.10/concurrent/futures/process.py",
line 246, in _process_worker
r = call_item.fn(*call_item.args, **call_item.kwargs)
File "/usr/local/src/miniconda3/lib/python3.10/concurrent/futures/process.py",
line 205, in _process_chunk
return [fn(*args) for args in chunk]
File "/usr/local/src/miniconda3/lib/python3.10/concurrent/futures/process.py",
line 205, in <listcomp>
return [fn(*args) for args in chunk]
File "/app/exoproc/modelling_phasemaps.py", line 42, in mcmc_wrapper
return mcmcloop(*args)
File "/app/exoproc/modelling_phasemaps.py", line 49, in mcmcloop
m = mcmc.MCMC(
File "/app/exoproc/mcmc.py", line 37, in __init__
adaptiveVoronoiPoints(
File "/app/exoproc/mcmc.py", line 1099, in adaptiveVoronoiPoints
x[0] = -1, -1
UnboundLocalError: local variable 'x' referenced before assignment
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):


File "/app/generate_point_cloud_data.py", line 323, in <module>
main(
File "/app/generate_point_cloud_data.py", line 147, in main
modelling.create_ant_inversion_model(
File "/app/exoproc/modelling.py", line 212, in create_ant_inversion_model
) = modelling_phasemaps.run_stage(
File "/app/exoproc/modelling_phasemaps.py", line 449, in run_stage
out = list(executor.map(mcmc_wrapper, mcmc_params))
File "/usr/local/src/miniconda3/lib/python3.10/concurrent/futures/process.py",
line 575, in _chain_from_iterable_of_lists
for element in iterable:
File "/usr/local/src/miniconda3/lib/python3.10/concurrent/futures/_base.py", line
621, in result_iterator
yield _result_or_cancel(fs.pop())
File "/usr/local/src/miniconda3/lib/python3.10/concurrent/futures/_base.py", line
319, in _result_or_cancel
return fut.result(timeout)
File "/usr/local/src/miniconda3/lib/python3.10/concurrent/futures/_base.py", line
458, in result
return self.__get_result()
File "/usr/local/src/miniconda3/lib/python3.10/concurrent/futures/_base.py", line
403, in __get_result
raise self._exception
UnboundLocalError: local variable 'x' referenced before assignment
#[0m

You might also like