GithubHelp home page GithubHelp logo

Comments (7)

ekbuchholtz avatar ekbuchholtz commented on May 30, 2024

When solving targets, I get the following error:
ERROR: BoundsError: attempt to access 568×742 Array{Float64,2} at index [489:569, 1:41]

My input ascii file is 568x742, and I'm using radius = 40, block_size = 1, buffer = 0
I have tried a variety of block sizes and radii to get them to fit, but no luck yet getting it to solve without the BoundsError.

Is there a way to figure out which combinations of blocks/radius will work or not, depending on the number of source cells? Do I need to crop my input files to better dimensions? I can also attach the ini and input files if that will help.

Using julia 1.0.5

from omniscape.jl.

vlandau avatar vlandau commented on May 30, 2024

Can you run using Pkg; Pkg.status("Omniscape") and post the output? Omniscape v0.2 requires Julia 1.4 or greater.

from omniscape.jl.

ekbuchholtz avatar ekbuchholtz commented on May 30, 2024

Ok, that might be the issue that I'm in an older Julia version. I haven't been able to get Julia 1.4.2 and GDAL and ArchGDAL to play well together yet so I was just trying to use Omniscape with the older Julia version.

julia> using Pkg; Pkg.status("Omniscape")
ERROR: MethodError: no method matching status(::Pkg.Types.Context, ::String)

from omniscape.jl.

vlandau avatar vlandau commented on May 30, 2024

Are you on Windows by chance? If so see #47 -- wondering if you might be having similar issues to the user who posted (and solved!) it.

from omniscape.jl.

vlandau avatar vlandau commented on May 30, 2024

using Pkg; Pkg.status("Omniscape")

I'm not sure why this didn't work -- maybe something to do with the Julia version.

from omniscape.jl.

ekbuchholtz avatar ekbuchholtz commented on May 30, 2024

Are you on Windows by chance? If so see #47 -- wondering if you might be having similar issues to the user who posted (and solved!) it.

Yes, on Windows. At first thought it was an administrator-type problem on my work computer, but #47 solved it. Haven't gotten the Bounds error now with the updated Julia version. Thanks!

from omniscape.jl.

vlandau avatar vlandau commented on May 30, 2024

Awesome!! Glad you figured it out. I will add appending a note to the README/docs about GDAL issues to the to do list.

from omniscape.jl.

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.