Dynamic landscape error #53
-
Hi there I was wondering if you could help me work out what's wrong with my dynamic landscape. I would like to run a three stage landscape where the first 0-10 years is the existing woodland cover, 10-40 years is 10% woodland increase and then 40-100years is 20% woodland increase. I have added the three different landscape files and then the patch layer I have kept the same:
I have not made any other changes to the script from my existing model which works fine. I have checked each landscape file and they are all match extent, cell size etc I am getting the following error message: `> RunRS(master_parameter,dirpath) Control Parameters checked Run Simulation(s) with seed 324135 ... Error reading landscape 0 - aborting ***** Elapsed time: 3716 seconds ***** Simulation completed $Errors Would you be able to tell me where I could be going wrong or would you need more detail to make any inferences? Many thanks, Ella |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Just to add to this, I've also attempted to convert the land cover rasters into matrix format and this is the error I am getting: eg.
This is my version of the package:
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. |
Beta Was this translation helpful? Give feedback.
-
Hi Ella, To your reply: |
Beta Was this translation helpful? Give feedback.
Hi Ella,
I am sorry to come back to you so late.
To your original post:
Have you tried running each landscape on its own without dynamic landscapes? It is difficult to tackle down the issue without a minimal working example or at least the landscape files. A wild guess would be that the NA values in your landscapes do not match. Have you checked that? (really check if for all landscape, cells with NAs are constant and do not change.
To your reply:
The error message clearly says that LandscapeFile should be of class "character". You can only provide a list of file names, but not a matrix. (This is only a feature of a side project, which might be added in future RangeShiftR releases.)