Open i-m-amit opened 2 years ago
excellent idea!
I would argue in favor of trying to load them anyway and display an error message if it doesn't work.
I'm a bit afraid that if the graphs don't load it means that the download will fail as well for the exact same reasons right ?
I'm exactly doing this in the MGCI: if the computation takes more than 5minutes (timed out), then a task is created to GEE, and a file to track it is stored https://github.com/dfguerrerom/sepal_mgci/blob/12eab6a728a07e30d64cc3e88feabf0d2b80fc31/component/tile/dashboard.py#L295.
Later on, the user can use a calculation from task tab, to read and render the result.
Is it a good idea to make maps and graphs optional or release the download button to directly download/export the results?
GEE docs:
Exporting allows Earth Engine to perform the computation in an environment with longer allowable running times (but not more memory).