cesaraustralia / Dispersal.jl

Tools for simulating organism dispersal
Other
21 stars 3 forks source link

Check human dispersal weights array and grwothmaps aux size in `precalc` #62

Open rafaqz opened 3 years ago

rafaqz commented 3 years ago

You can pass in aux data and a human dispersal rule with the wrong size arrays, and it does weird things and throws indecipherable errors. This bit me a number of times switching model scales between australia and sydney regions.

We should always check aux array size matches gridsize(simdata) in precalc wherever we use them.