Code Monkey home page Code Monkey logo

Comments (2)

rafaspadilha avatar rafaspadilha commented on June 2, 2024

Hello, @click2cloud-SanchitG. Thank you for raising this issue and for the patience in my reply.
I was able to run the notebook with the geometry and time range that you provided and found the same issue.

The problem is not with the workflow or notebook, but with the quality of the output Landsat rasters for this geometry and time range. Below are a few random dates and their landsat and NDVI rasters (I've increased the geometry a bit, to improve the visualization):

Landsat:
image

NDVI:
image

The black/white pixels in Landsat/NDVI rasters show pixels with missing data. This seems to happen in the majority of images. Because of this, the workflow is unable to train the pixel-wise linear trend model. The error that you see happens during plotting the linear trend raster, due to an overflow in the axis definition (because the values in the rasters are very large due to the bad prediction).

To deal with cases like this, a possible workaround is filtering out rasters that have a high percentage of missing data, before feeding it to the NDVI + linear trend ops. You would need to break the landsat_ndvi_trend workflow in two parts: one that downloads Landsat, and another that receives the filtered list of Landsat rasters and perform the remaining tasks of the workflow (NDVI computation + linear trend). In between them, you would filter the bad rasters.

Let me know if you have any doubts or if I can help you with anything else.

from farmvibes-ai.

rafaspadilha avatar rafaspadilha commented on June 2, 2024

Closing this issue for now. Let us know if you have any doubts.

from farmvibes-ai.

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.