cday41 / paz-search

Automatically exported from code.google.com/p/paz-search
0 stars 0 forks source link

Individual Disperser Memory Maps Bugged Upon Restart / Back up Home Sites #84

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Upon reloading, any previous information from memory maps is lost in any newly 
generated shapefiles. Essentially dispersers start over and create new memory 
maps, losing the information from the old shapefiles.

Attached are a backup folder and the output from a run restarting from that 
backup. Look at the memory maps for animal 40. This animal was still dispersing 
at the time of reloading. The 4016 is the latest shapefile before the reload 
happened. This shapefile was copied over so you can see it in the new output 
folder as well. However, look at the new maps in the RidenourOut/2014/40 
folder. The next new file after 4016 is 40. It just kind of starts over at that 
point. You can see 40 and 407 leave out the north part of what the animal 
remembered in the backup (4016). You can also look at the step point file. 
Point 6 is about the center of the new 40 shapefile and corresponds to the 
point of reloading.

Again this is probably an issue of pointing animals to the right file to load 
from.

I don't think this has any impact on where animals end up settling but you 
might want to make sure of it. If an animal had a suitable site stored 
somewhere before a backup, and the memory map doesn't show it anymore after a 
reload, could it still settle there?

Original issue reported on code.google.com by acohe...@gmail.com on 15 May 2014 at 8:48

GoogleCodeExporter commented 9 years ago

Original comment by acohe...@gmail.com on 15 May 2014 at 8:51

Attachments:

GoogleCodeExporter commented 9 years ago
I will look at this.  As it is designed, he still knows every x-y he ever 
visits.  And which ones are suitable I believe.  I will take a look, he should 
not be loading the wrong map either way.

Original comment by ran...@mwwb.net on 19 May 2014 at 12:28

GoogleCodeExporter commented 9 years ago
Now attached are maps and xml.
You mentioned that the list of home sites wasn't being backed up so that will 
need to be addressed. Hopefully it's related.

To recreate:
Launch a run. Backup and kill the run at something like 10 timesteps into the 
second year. Enough for the animals to have seen a bunch of sites. Then reload. 
Upon reloading their memories are essentially wiped. You can see that in the 
memory maps as described above and probably in the list of sites they have 
stored in their memory.

Original comment by acohe...@gmail.com on 27 May 2014 at 7:39

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by acohe...@gmail.com on 4 Jun 2014 at 4:48

GoogleCodeExporter commented 9 years ago

Original comment by acohe...@gmail.com on 4 Jun 2014 at 4:49

GoogleCodeExporter commented 9 years ago
I believe we decided the animal's memory is fine.  There might be something 
with the maps however.

Original comment by ran...@mwwb.net on 10 Aug 2014 at 8:15