Giter Site home page Giter Site logo

Comments (2)

itati01 avatar itati01 commented on August 15, 2024

Another issue: some extra cells appear in top row. I found them while evaluating the flow accumulation with efficiency (#73).

np.where(grid.dinf_acc_eff<grid.dinf_acc)`
Out[92]: (array([0, 0, 3, 4], dtype=int64), array([ 4, 5, 131, 132], dtype=int64))

The cells (0,4) and (0,5) are wrong. Without efficiency:

grid.dinf_acc[0,4]
Out[94]: 3115.7132796632914
grid.dinf_acc[0,5]
Out[95]: 8288.15039690737

Et voilà, they receive the outflow of the darkish cell mentioned above

grid.dinf_acc[0,5] + grid.dinf_acc[0,4] - grid.dinf_acc.max()
Out[101]: 1.000000000001819

Which is where I put the retention cell (which matches the observed differences for cells (4,131) and (5,132).

np.where(grid.dinf_acc==grid.dinf_acc.max())
Out[106]: (array([3], dtype=int64), array([131], dtype=int64))

The values for (0,5) and (4,132) (the reddish cell above) are identical:

grid.dinf_acc[0,5] - grid.dinf_acc[4,132]
Out[112]: 0.0

spurious_cells_dinf_acc_catch

from pysheds.

mdbartos avatar mdbartos commented on August 15, 2024

Greetings, try updating to pysheds v0.3 and reopen if the issue persists.

from pysheds.

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.