Error in Step 3 of Climate Linkage Mapper & Possible to Resume from Previous Progress?

13 views
Skip to first unread message

kaiying sun

unread,
Mar 22, 2025, 8:16:05 AMMar 22
to Linkage Mapper
Hi all,

I have been running Step 3 of the tool for about ten days. Everything was working fine until it reached patch 808, where it suddenly encountered an error with the following error code: 

---------------------------------
Target core areas for core area #807 = [ 458  461  464  465  466  476  481  484  488  490  495  500  502  503  506
  514  517  518  519  520  523  525  528  536  538  541  548  549  551  552
  554  557  558  560  561  562  568  572  573  577  580  581  582  583  584
  586  587  589  591  593  594  595  598  601  602  603  604  605  606  607
  610  612  613  614  615  617  622  623  628  631  634  635  636  639  640
  641  644  646  647  649  651  653  656  657  658  664  665  667  673  674
  679  681  682  686  687  693  698  699  704  708  718  720  726  733  734
  736  737  749  750  754  755  757  761  767  768  770  778  779  780  783
  784  789  793  794  801  802  804  805  818  828  832  835  839  840  849
  868  874  876  877  886  890  893  899  903  911  917  919  926  927  928
  930  934  940  941  944  950  952  958  963  964  967  971  972  975  992
 1007 1009 1011 1014 1018 1020 1021 1023 1027 1033 1037 1041 1047 1048 1049
 1051 1056 1061 1064 1075 1077 1078 1085 1089 1092 1093 1094 1095 1096 1100
 1102 1104 1105 1106 1107 1112 1118 1123 1126 1131 1134 1136 1137 1138 1143
 1146 1151 1154 1160 1161 1163 1164 1168 1172 1173 1174 1175 1177 1180 1182
 1184 1192 1195 1196 1198 1205 1206 1209 1213 1220 1222 1224 1230 1235 1238
 1246 1255 1256 1257 1259 1264 1277 1284 1286 1287 1288 1306]
Done with all calculations for core ID #807. 807 of 1435 cores have been processed.
Task took: 18 minutes and 31 seconds.

---------------------------------
Target core areas for core area #808 = [ 475  486  492  508  515  534  537  539  544  546  550  555  559  563  564
  565  566  567  570  571  574  575  576  578  585  588  590  592  596  597
  599  600  608  611  616  618  619  620  624  626  627  629  630  632  633
  637  644  648  661  662  666  670  671  675  676  677  680  683  684  685
  689  690  692  694  696  697  699  701  703  705  707  709  710  711  716
  717  718  719  721  722  723  724  727  728  730  735  739  741  742  743
  744  745  746  747  748  751  752  753  759  760  763  764  765  766  770
  771  773  774  775  776  777  781  785  786  790  792  796  797  798  799
  803  806  816  820  821  822  825  827  829  833  834  836  837  841  845
  846  850  852  853  855  856  858  859  862  863  864  866  867  871  872
  875  878  882  884  887  888  889  897  900  901  902  904  905  906  912
  913  914  920  924  933  935  937  939  945  947  948  954  955  959  960
  961  962  965  966  968  969  970  973  976  977  978  979  980  981  982
  984  985  986  987  988  990  991  993  996  999 1000 1002 1003 1005 1006
 1009 1010 1012 1013 1015 1016 1017 1019 1023 1025 1026 1028 1029 1031 1034
 1036 1038 1039 1040 1042 1043 1044 1045 1046 1048 1051 1052 1054 1057 1058
 1059 1060 1062 1063 1068 1069 1073 1076 1079 1080 1081 1082 1083 1084 1086
 1087 1088 1090 1091 1094 1097 1098 1101 1103 1108 1109 1111 1113 1115 1117
 1119 1120 1121 1122 1124 1125 1127 1128 1129 1130 1132 1133 1135 1139 1140
 1141 1142 1144 1145 1147 1148 1149 1153 1155 1156 1158 1165 1166 1167 1169
 1170 1171 1176 1181 1186 1188 1189 1190 1191 1197 1199 1200 1201 1202 1203
 1204 1211 1212 1214 1215 1216 1218 1219 1221 1223 1225 1226 1227 1228 1229
 1233 1234 1237 1239 1240 1241 1242 1243 1245 1247 1248 1252 1261 1262 1267
 1269 1270 1272 1274 1285 1290 1292 1298 1299 1302 1307 1310 1311 1314]
---------------------------------
Geoprocessing error on **line 751** of lm_util.py in Linkage Mapper Version 3.1.0:
 
---------------------------------
 
---------------------------------
---------------------------------
Python error on **line 723** of s3_calcCwds.py in Linkage Mapper Version 3.1.0:
UnicodeEncodeError: 'ascii' codec can't encode characters in position 14-21: ordinal not in range(128)

Stop time: Wed Mar 19 21:14:31 2025


---------------------------------
A record of run settings and messages can be found in your log directory:
D:\clitest\run_history\log
---------------------------------
 

Stop time: Wed Mar 19 21:14:31 2025 

.

To investigate, I tested patches 800–817 separately, and they processed without any issues. I am unsure what caused this problem—could you provide any guidance on resolving it?

Additionally, is there a way to avoid rerunning the entire process from the beginning? Since processing patches 1–807 has already taken me ten days, I would greatly appreciate any method that allows me to resume from where it left off and save time.
Here is my Log files attached.

Thank you for any help you can provide!

2025_03_08_2024_Climate Linkage Mapper.txt

John Gallo

unread,
Mar 24, 2025, 4:18:01 PMMar 24
to linkage...@googlegroups.com
Hello,

Most computers do not have the RAM and processing power to do 1400 cores with such a large distance allowed between linkages.  Yours may, but that is probably the problem.

Also, make sure it is not mapping linkages tha tpass through other cores.  You could fix that and then try again.

Or, I'd suggest as a next step selecting 10 cores in a corner of your region, running them, and seeing how long each step takes, then splitting the region in to a croup of overlapping subregions, run each one, then combine the results iusing a Min Command.  Be sure to include the same overlapping cores in the overlapping regions.

Good luck!

John 

--
You received this message because you are subscribed to the Google Groups "Linkage Mapper" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linkage-mappe...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/linkage-mapper/4329dd77-38da-4cf2-9509-cfd1825a153cn%40googlegroups.com.


--
John A. Gallo, Ph.D.
Project Director
LinkageMapper.org

and

Senior Conservation Scientist
Conservation Biology Institute

kaiying sun

unread,
Mar 30, 2025, 10:58:52 PMMar 30
to linkage...@googlegroups.com
Hi, John!
Thank you so much for your advice! I will keep trying and testing. I hope it can work smoothly.


John Gallo <john....@linkagemapper.org> 于2025年3月25日周二 04:18写道:
Reply all
Reply to author
Forward
0 new messages