Comments (7)
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.
Can you run using Pkg; Pkg.status("Omniscape")
and post the output? Omniscape v0.2 requires Julia 1.4 or greater.
from omniscape.jl.
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.
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.
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.
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.
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)
- Unexpected results HOT 3
- Learning Omniscape -- Error message when running example code HOT 1
- Allow Bool values in cfg of in-memory run_omniscape? HOT 2
- Omniscape crashing with AssertionError: norm(G * v .- curr) / norm(curr) < 1.0e-6 HOT 33
- RasData error after updating both Circuitscape and Omniscape HOT 2
- Segmentation fault in expression starting at none:0 HOT 3
- enable BigTIFF support on write? HOT 2
- computation time increases with more than six workers HOT 1
- Resistance file does not exist error HOT 2
- UndefVarError 'read_raster' not defined HOT 4
- Fix documenter and tagbot HOT 4
- Omniscape failed on the moving window centered on ... HOT 2
- Is the scale for Cumulative current flow & Flow current inverted in the latest release? HOT 1
- nested task error HOT 1
- reclass_table should give a warning if reclassify_resistance is false HOT 2
- project_name is not respected when doing successive runs HOT 2
- Julia/Omniscape not recognizing files [Solved: ini file mistake - no source specified] HOT 2
- Sending progress to stdout HOT 2
- Omniscape fails on specific row / column: AssertionError HOT 7
- Error in writing final outputs - no method matching setgeotransform HOT 6
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 omniscape.jl.