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

Error related to max and min values #8

Open
mvereten opened this issue Jul 4, 2023 · 1 comment
Open

Error related to max and min values #8

mvereten opened this issue Jul 4, 2023 · 1 comment

Comments

@mvereten
Copy link

mvereten commented Jul 4, 2023

Dear SpaceX developers,

I've run into the following error on the 33rd step/iteration/location(?) of the code, as follows:

"
Error in seq.default(a_min, a_max, length=10):
'from' must be a finite number
In addition: Warning messages:
1: In max(a) : no non-missing arguments to max; returning -Inf
2: In SpaceX(X,L[,c(1:2)],L[,3],sPMM = FALSE, Post_process = TRUE,:
NaNs produced
3: In min(a): no non-missing arguments to min; returning Inf
"

I've checked, and the matrix X doesn't have any missing elements , neither does L.

Is this something you could comment on?

Thanks,
Maria

@SatwikAch
Copy link
Contributor

I think one of the cluster sizes is becoming very small (less than 3 to be specific) with the subset version of the whole dataset. It needs at least 3 spatial locations for each of clusters to estimate the length scale parameter of the spatial kernel. Please feel free to reach out if you run into any other issue.

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