Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such file or directory: 'srtm2sdf': 'srtm2sdf' #29

Open
sakshamgulati opened this issue Dec 15, 2021 · 1 comment
Open

No such file or directory: 'srtm2sdf': 'srtm2sdf' #29

sakshamgulati opened this issue Dec 15, 2021 · 1 comment

Comments

@sakshamgulati
Copy link

I have cloned this repo to my local and following the examples.ipynb notebook and still got this error

@sakshamgulati
Copy link
Author


FileNotFoundError Traceback (most recent call last)
/var/folders/70/qd0s3l2d6fnf4jk2n2w0fryw0000gp/T/ipykernel_59447/2497137920.py in
3 out_path = TMP_DIR+'/splat_files'
4 wt.process_topography(topography_path, out_path,
----> 5 high_definition=high_definition)
6
7 #%ll -h {out_path}

~/opt/anaconda3/envs/Netowrth/lib/python3.7/site-packages/wavetrace/main.py in process_topography(in_path, out_path, high_definition)
418 # Convert to SDF
419 cp = subprocess.run([splat, f.name], cwd=str(f.parent),
--> 420 stdout=subprocess.PIPE, universal_newlines=True, check=True)
421
422 # Get name of output file, which SPLAT! created and which differs

~/opt/anaconda3/envs/Netowrth/lib/python3.7/subprocess.py in run(input, capture_output, timeout, check, *popenargs, **kwargs)
486 kwargs['stderr'] = PIPE
487
--> 488 with Popen(*popenargs, **kwargs) as process:
489 try:
490 stdout, stderr = process.communicate(input, timeout=timeout)

~/opt/anaconda3/envs/Netowrth/lib/python3.7/subprocess.py in init(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds, encoding, errors, text)
798 c2pread, c2pwrite,
799 errread, errwrite,
--> 800 restore_signals, start_new_session)
801 except:
802 # Cleanup if the child failed starting.

~/opt/anaconda3/envs/Netowrth/lib/python3.7/subprocess.py in _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, restore_signals, start_new_session)
1549 if errno_num == errno.ENOENT:
1550 err_msg += ': ' + repr(err_filename)
-> 1551 raise child_exception_type(errno_num, err_msg, err_filename)
1552 raise child_exception_type(err_msg)
1553

FileNotFoundError: [Errno 2] No such file or directory: 'srtm2sdf': 'srtm2sdf'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant