![]() ![]() Whenever possible, I'd suggest paring down your code to a MRE to a) make sure that users here can run your code (without your files, for example, this is not really viable) and b) to see if reframing your question / goals in simpler terms would help get things working- at least that's what works for me! and finally, if the user puts the value 3 in num-use, it would simulate the files (L_2, L_4 and L_8) that would represent if the user puts the value 2 in num-user, he would do the simulation with the files (L_2 and L_4) that would represent if the user puts the value 1 in num-user, it would only do the simulation with only one file (L_2) that would represent There are 3 files in the folder with the names: (L_2.asc L_4.asc and L_8.asc Set files gis:load-dataset ( word "./L_" number1 ".asc" ) this loads a one raster file. I can't use BehaviouSpace to solve the situation, I need this loop in the code. ![]() But if anyone can look at the code and identify the error I would be very grateful. ![]() L_8.asc not found or Can't find element 3 of the list, which is only of length 3 or go runs more than 3 simulations. The problem is that the loop is not working and gives various errors. I would like if the user puts the value 1 in num-user, it would only do the simulation with only one file (L_2) that would represent if the user puts the value 2 in num-user, he would do the simulation with the files (L_2 and L_4) that would represent and finally, if the user puts the value 3 in num-use, it would simulate the files (L_2, L_4 and L_8) that would represent. asc) that represent data referring to 3 ages of the turtles (age 2, age 4 and age 8). However, it doesn't work.Ĭontextualizing the problem: I have 3 files (in. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |