Skip to content

Commit 7bbf768

Browse files
committed
bugfix: Manager.write_to_dataset was writing observed data in place of synthetic data, causing only observed data to be written
1 parent 254918c commit 7bbf768

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyatoa/core/manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ def write_to_dataset(self, ds=None, choice=None):
356356
with warnings.catch_warnings():
357357
warnings.filterwarnings("error")
358358
try:
359-
ds.add_waveforms(waveform=self.st_obs,
359+
ds.add_waveforms(waveform=self.st_syn,
360360
tag=self.config.synthetic_tag)
361361
except ASDFWarning:
362362
logger.debug(f"{self.config.synthetic_tag} waveform "

0 commit comments

Comments
 (0)