Closed rafelafrance closed 10 months ago
While working thru the example notebook lidar.ipynb, I could not open the zip file in cell 4.
To fix, change: with zipfile.ZipFile(zip_name, "r") as zip_ref: to with zipfile.ZipFile(zip_path, "r") as zip_ref:
with zipfile.ZipFile(zip_name, "r") as zip_ref:
with zipfile.ZipFile(zip_path, "r") as zip_ref:
Presumably, also change: with tarfile.open(zip_name, "r") as tar_ref: to with tarfile.open(zip_path, "r") as tar_ref:
with tarfile.open(zip_name, "r") as tar_ref:
with tarfile.open(zip_path, "r") as tar_ref:
Can you submit a pull request to fix it? Thanks
Description
While working thru the example notebook lidar.ipynb, I could not open the zip file in cell 4.
What I Did
To fix, change:
with zipfile.ZipFile(zip_name, "r") as zip_ref:
towith zipfile.ZipFile(zip_path, "r") as zip_ref:
Presumably, also change:
with tarfile.open(zip_name, "r") as tar_ref:
towith tarfile.open(zip_path, "r") as tar_ref: