Skip to content

Commit 8fc9826

Browse files
committed
Minor changes
1 parent 6c48d8d commit 8fc9826

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

seismic/xcorqc/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def from_nc(cls, nc_file):
400400
"""
401401
try:
402402
ds = ncDataset(nc_file)
403-
xcorr = np.array(ds.variables['xcorr'])
403+
xcorr = np.array(ds.variables['X'])
404404
shp = xcorr.shape
405405
ncols = 0
406406

seismic/xcorqc/xcorqc.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -969,9 +969,9 @@ def IntervalStackXCorr(refds, tempds,
969969
'time_domain_norm': time_domain_norm,
970970
'spectral_whitening': int(whitening),
971971
'envelope_normalize': int(envelope_normalize),
972-
'ensemble_stack': int(ensemble_stack),
973-
'simple_stack': int(apply_simple_stacking),
974-
'subset_stack': int(subset_stacker is not None)}
972+
'is_ensemble_stack': int(ensemble_stack),
973+
'is_simple_stack': int(apply_simple_stacking),
974+
'is_subset_stack': int(subset_stacker is not None)}
975975
if(subset_stacker is not None):
976976
for k, v in subset_stacker.param_dict.items():
977977
k = 'subset_stack.{}'.format(k.lower())

0 commit comments

Comments
 (0)