-
Notifications
You must be signed in to change notification settings - Fork 23
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
Stack ISCE, SLC with os.scandir(src) as itr: FileNotFoundError: [Errno 2] No such file or directory: '' #46
Comments
Hi @alejobeap MiaplPy/miaplpy/defaults/auto_path.py Lines 18 to 61 in 30fa971
|
This is how I solved the issue: with os.scandir(src) as itr: Short answerI copied the content of my custom miaplpy config file to the Long answerI open the file |
Thanks for your answer, but in my case I run the stack with ISCE2 with stackSentinel.py and according to the example template
minopy.load.slcFile = ../merged/SLC//.slc.full #[path2slc_file]
I only have the *.slc.full.vrt and *slc.full.xml for each date.
The message is:
File "/home//tools/MiaplPy/miaplpy/miaplpyApp.py", line 801, in
main()
File "/home/tools/MiaplPy/miaplpy/miaplpyApp.py", line 82, in main
app.open()
File "/home/stools/MiaplPy/miaplpy/miaplpyApp.py", line 176, in open
self.date_list, self.num_pixels, self.metadata = read_initial_info(self.workDir, self.templateFile)
File "/home/tools/MiaplPy/miaplpy/objects/utils.py", line 1221, in read_initial_info
iDict = read_inps2dict(inps_loadSlc)
File "/home/tools/MiaplPy/miaplpy/objects/utils.py", line 1293, in read_inps2dict
shutil.copytree(reference_dir, out_reference)
with os.scandir(src) as itr:
FileNotFoundError: [Errno 2] No such file or directory: ''
The same of @gongzhiqiang97
Thanks
Alejandro
Originally posted by @alejobeap in #45 (comment)
The text was updated successfully, but these errors were encountered: