opengeos / leafmap

A Python package for interactive mapping and geospatial analysis with minimal coding in a Jupyter environment
https://leafmap.org
MIT License
3.23k stars 389 forks source link

leafmap.create_timelapse returns No images found in the input directory. #948

Closed robmarkcole closed 4 weeks ago

robmarkcole commented 4 weeks ago

In https://leafmap.org/notebooks/72_timelapse/ I get No images found in the input directory. which was reported in https://github.com/opengeos/leafmap/issues/411

giswqs commented 4 weeks ago

I can't reproduce the error. The notebook works fine on both Colab and my local machine.

robmarkcole commented 4 weeks ago

Are you mac or windows?

giswqs commented 4 weeks ago

I am using Linux. So the error occurs on macOS?

giswqs commented 4 weeks ago

I just tested on mac. Working fine as well.

image

robmarkcole commented 4 weeks ago

Very strange.. Might be a hidden file, something to do with my path, not sure...

image
giswqs commented 4 weeks ago

It might because you are using venv. The working directory file path is different. Try setting images = /fullpath_to_dir/*.tif