Skip to content
Snippets Groups Projects
Unverified Commit cc389143 authored by Erin (Josh) Rigler's avatar Erin (Josh) Rigler Committed by GitHub
Browse files

Merge pull request #252 from pcain-usgs/issue-121

Fixes issue 121
parents 0b3a4db8 bf0b84ed
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,7 @@ from .IMFV283Factory import IMFV283Factory ...@@ -5,6 +5,7 @@ from .IMFV283Factory import IMFV283Factory
import subprocess import subprocess
import sys import sys
from obspy.core import Stream from obspy.core import Stream
import os
class GOESIMFV283Factory(IMFV283Factory): class GOESIMFV283Factory(IMFV283Factory):
...@@ -181,7 +182,9 @@ class GOESIMFV283Factory(IMFV283Factory): ...@@ -181,7 +182,9 @@ class GOESIMFV283Factory(IMFV283Factory):
buf.append('RETRANSMITTED: N\n') buf.append('RETRANSMITTED: N\n')
buf.append('ASCENDING_TIME: false\n') buf.append('ASCENDING_TIME: false\n')
buf.append('RT_SETTLE_DELAY: true\n') buf.append('RT_SETTLE_DELAY: true\n')
criteria_dir = os.path.dirname(criteria_file)
if not os.path.exists(criteria_dir):
os.makedirs(criteria_dir)
with open(criteria_file, 'wb') as fh: with open(criteria_file, 'wb') as fh:
fh.write(''.join(buf)) fh.write(''.join(buf))
fh.close() fh.close()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment