Git Product home page Git Product logo

Comments (4)

IndigoWizard avatar IndigoWizard commented on May 28, 2024

@marcelusobama Thanks for the heads up! I just rebooted the app and it should work fine.
Im using Streamlit Cloud which is free tier powered by Snowflake, so it has a limit for the resources the app uses. I cant afford a paid tier for now so I just have to reboot the app when it crashes due to overload (usually multiple requests in an instant takes it down due to the amount of calculations).
The app definitely needs optimization to work on this streamlit cloud free tier. Will open a separate issue for that.

from ndvi-viewer.

marcelusobama avatar marcelusobama commented on May 28, 2024

from ndvi-viewer.

IndigoWizard avatar IndigoWizard commented on May 28, 2024

@marcelusobama After forking the project you can clone it to your local machine and install the required packages (see requirements.txt). Once you setup your environment with the packages, it should work fine. It wont crash as the request are made to the gee server directly.

You'll need a Google Earth Engine account of course since you'll be running it on your own account. (its free and usually I run heavy calculations and processing, it takes few seconds but dont crash.)

Important, in the app.py, uncomment the ee.Initialize() when running it locally, you can do it just once to initialize the gee api. But make sure to comment it back when pushing commits as Streamlit don't use that method.

from ndvi-viewer.

IndigoWizard avatar IndigoWizard commented on May 28, 2024

@marcelusobama Im working on a quick fix now, there is the issue that the default date in the date input is set to the current day, sometimes there are no available satellite images in the data set yet so it cant find a B8 so it may crash, Ill make it set to a day before and see if this helps a bit. (still, app overload is an actual issue so this is not a total fix).

from ndvi-viewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.