-
Notifications
You must be signed in to change notification settings - Fork 1
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 in location_series() #55
Comments
Could you please provide me with a self contained reprex? Right now, I can't rerun your code, making it difficult to diagnose the problem. A good reprex is a few lines of code that i can just copy and paste, showing the error. Thanks. |
Sure thing.
|
I am away from the office today, and so with limited access to large files. However, I quickly tried the command above, simply substituting:
|
Hi, we tried substituting the bio variables and it returned the same error. Also, I can confirm that we have downloaded the dev version using devtools following the instructions given in the readme file. The code now runs (albeit slowly) when using only a single bio variable and produces the expected result.
|
Hi, with some further testing, I have identified the issue. The code seems to break when "nn_interpol = TRUE" and I have managed to run the code with multiple bio variable successfully with "nn_interpol = FALSE". |
Hmm, there is something odd going on. The code runs fine on my machine. But the error that you get is |
|
You seem to have quite a few packages loaded! To narrow down the source of your crash, we need to figure out if the problem arises without any conflicting packages (it works on my machine and GitHub continuous integration, but there could be something about your setup that is different).
Then, in a clean environment, try running the reprex you sent me, and let's see if the code succeeds. |
Re-ran the code in a clean environment, the same issue occurs when nn_interpol = TRUE |
Is the error the same? It should at the very least look different, if you don't have any |
Any update on this? |
When I tried to run the location_series() command as follows:
location_series(
x = HolDatPlaeoClimDat,
bio_variables = c("bio01", "bio12", "bio05", "bio06","bio16", "bio17"),
dataset = "Krapp2021", time_bp = Holocene, nn_interpol = TRUE
)
and I got the following error:
When I tried to run it with only one variable, I got a non-halt error. This is an example of my data:
at first I thought it was because I attached the tidyr package before I installed pastclim in my script, and that masked the extract function from terra, since I was getting a separate error associated with extract not working, but even removing tidyr I get this error. Holocene is a vector of the time stamps which fall within the Holocene.
The text was updated successfully, but these errors were encountered: