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

raise BadZipFile("File is not a zip file") #921

Open
yuyanru0304 opened this issue Jan 15, 2025 · 1 comment
Open

raise BadZipFile("File is not a zip file") #921

yuyanru0304 opened this issue Jan 15, 2025 · 1 comment

Comments

@yuyanru0304
Copy link

Uploading 图片.png…
code:stackSentinel.py -s ../SLC/ -d ../DEM/demLat_N38_N41_Lon_E114_E118.dem.wgs84 -a ../AuxDir/ -o ./orbits/ -b '38.5 40.9 114. 117.5' -W slc -z 5 -r 20
result:20240108
orbit was not found in the /home/yyr/InSAR/ISCE_TEST/Process/orbits
downloading precise or restituted orbits ...


20240120
orbit was not found in the /home/yyr/InSAR/ISCE_TEST/Process/orbits
downloading precise or restituted orbits ...
Traceback (most recent call last):
File "/home/yyr/isce2/contrib/stack/topsStack/stackSentinel.py", line 1067, in
main(sys.argv[1:])
File "/home/yyr/isce2/contrib/stack/topsStack/stackSentinel.py", line 1018, in main
acquisitionDates, stackReferenceDate, secondaryDates, safe_dict, updateStack = checkCurrentStatus(inps)
File "/home/yyr/isce2/contrib/stack/topsStack/stackSentinel.py", line 911, in checkCurrentStatus
acquisitionDates, stackReferenceDate, secondaryDates, safe_dict = get_dates(inps)
File "/home/yyr/isce2/contrib/stack/topsStack/stackSentinel.py", line 312, in get_dates
pnts = safeObj.getkmlQUAD(safe)
File "/home/yyr/isce2/contrib/stack/topsStack/Stack.py", line 1751, in getkmlQUAD
zf = zipfile.ZipFile(safe,'r')
File "/home/yyr/anaconda3/envs/isce2_env/lib/python3.8/zipfile.py", line 1271, in init
self._RealGetContents()
File "/home/yyr/anaconda3/envs/isce2_env/lib/python3.8/zipfile.py", line 1338, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file

@Arctic-Ambrun
Copy link

zip file was errorly downloaded, checek the size of zip file

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

2 participants