Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index in position 1 is invalid #1

Open
lurivan opened this issue Apr 27, 2023 · 1 comment
Open

Index in position 1 is invalid #1

lurivan opened this issue Apr 27, 2023 · 1 comment

Comments

@lurivan
Copy link

lurivan commented Apr 27, 2023

Hey,

First at all, thank you for uploading this kind of open access tool, with the example datasets and one of mine i get this error: "Index in position 1 is invalid. Array indices must be positive integers or logical values.", if there is any solution for that i will be gratefull in order to been able to try this tool with some datasets.

Again, thanks
Array indices must be positive integers or logical values ERROR

@twilight5284
Copy link
Owner

Hi,

I'm glad to hear that you try this tool. Sorry for not continuing to update the code since then, so there may be some small bugs in there when running different datasets.

Regarding the error you mentioned, it seems like there might be an issue with the indexing of the array z. One possibility is that z is empty. Does your input rectangle dataset have a big no-data area?

cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants