Comments (4)
@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.
from ndvi-viewer.
@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.
@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)
- UI: Legend HOT 1
- Processing imagery: Generating NDVI result HOT 1
- Deployement HOT 1
- Secondary basemaps 🗺️ HOT 1
- Processing imagery: NDVI supervised classification HOT 1
- Comparative maps HOT 5
- Update README.md
- User input: date time - 2: time range HOT 1
- General info section HOT 1
- User input: cloud coverge percentage HOT 1
- UI: layout enhancement and css loading optimization
- UI/UX - Accessibility: colorblind-friendly map color palettes
- Input: uplaoded geojson with multiple geometries HOT 7
- Dynamic map focus
- Data Profiling and Stats
- Saving Analysis Result - Map Screenshot Save/Export HOT 3
- App optimization - Resource Consumption - Streamlit Cloud free tier Crash
- App crashes due to absent B8 when trying to calculate Nomalized Difference with absent data from current day
- Earth Engin Authentication issue with geemap in streamlit when deployed to Streamlit Cloud
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ndvi-viewer.