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

Decision Support: Error is showing when position coordinate variables are selected for X and Y variables #18

Open
christineguiang opened this issue Aug 4, 2022 · 2 comments

Comments

@christineguiang
Copy link

Hi @leova ,
I tried using decision support tool on a study with fieldmap. When I tried to select and use the position coordinate variables e.g.
positionCoordinateX, positionCoordinateY, x, and y for X or Y variables, I am getting these errors:

Error: subscript out of bound
Error: non-numeric argument to mathematical function

Would you help us troubleshoot this problem? Thanks!

@mcrimi, @mderamos

@christineguiang christineguiang changed the title Decision Support: Issue #1: Error is showing whenever position coordinate variables are selected Decision Support: Error is showing when position coordinate variables are selected for X and Y variables Aug 4, 2022
@leova
Copy link
Contributor

leova commented Aug 5, 2022

Hi @christineguiang

Thanks for filing this issue.

I imagine it is related to the variable type of positionCoordinateX and positionCoordinateY in the dataset you are using (here is an example where it works fine: http://107.20.28.182/app/decision_support?cropDb=wheat&token=TOKEN&apiURL=https://brapi.bms-uat-test.net/bmsapi&studyDbIds=139,140).

Could you please share your example to help me troubleshoot?

Thanks,

@leova
Copy link
Contributor

leova commented Aug 9, 2022

@christineguiang could you please provide me with a reproducible example as you did in issue #20?

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