gee-community/geemap

frequency issue in sentinel-2_timelapse

haydenclose opened this issue · 1 comments

Hi i am trying to create a timelapse in sentinel-2 imagery using every image available between the two selected dates. When i use frequency='day' it just returns the string 'day' but i get the gif if I provide 'month' or 'year'. The use of 'day' works with geemap.sentinel1_timelapse so I am assuming there is a bug somewhere in the sentinel-2 timelapse function.

roi = ee.Geometry.BBox(-74.7222, -8.5867, -74.1596, -8.2824)

timelapse = geemap.sentinel2_timelapse(
        roi,
        out_gif='sentinel2.gif',
        start_year=2022,
        end_year=2023,
        start_date='01-01',
        end_date='06-01',
        frequency='day',
        bands=['Red', 'Green', 'Blue'],
        frames_per_second=1,
        title='Sentinel-2 Timelapse')
giswqs commented

Thank you for reporting. This bug has been fixed in #1633. Please update the package using geemap.update_package() and restart the kernel to take effect.