gee-community/geemap

Map.to_html product last hours only

jlopezAG opened this issue · 1 comments

Environment Information

Please run the following code on your computer and share the output with us so that we can better debug your issue:

import geemap
geemap.Report()
--------------------------------------------------------------------------------
  Date: Fri Jan 20 08:29:42 2023 -04

                OS : Linux
            CPU(s) : 4
           Machine : x86_64
      Architecture : 64bit
               RAM : 15.5 GiB
       Environment : Python
       File system : ext4

  Python 3.10.8 | packaged by conda-forge | (main, Nov 22 2022, 08:26:04) [GCC
  10.4.0]

            geemap : 0.19.2
                ee : 0.1.334
        ipyleaflet : 0.17.0
            folium : 0.12.1.post1
        jupyterlab : 3.5.2
          notebook : 6.5.2
         ipyevents : 2.0.1
         geopandas : 0.12.2
   localtileserver : 0.6.1
--------------------------------------------------------------------------------

Description

I have a Map2 variable with some Sentinel 2 scenes.

What I Did

Generating html output works

Map2.to_html(
  filename="Escenas.html", 
  title='Escenas encontradas', width='100%', height='880px')

html output is correct, but after some hours sentinel images are gone.

We can see now only the list of layers, but no images any more.

{Here is a copy of the html output file](https://cubarro.github.io/sentinel2/Escenas.html)

Yes, all Earth Engine layers are temporary that only last for a few hours. You will have to keep running the script to generate new HTMLs. This is a GEE policy. There is nothing geemap can do about it.