GetPopulations


This application will output the abundance of each patch for each year of the simulation (actually, the abundances are the mean abundances over all iterations of the simulation).

Arguments

There are three mandatory arguments to this application:

MPFile Start_Year Delimiter

MPFile is the metapop file to process
Start_Year is the first year of the simulation. Each subsequent time-step is assumed to be one year after this
Delimiter is the character used to delimit the fields in the outputs

Outputs

The outputs of this application are one line that showing the number of patches loaded, followed by oneline per year, where each line consists of the year followed by triplets for each patch. Each triplet is comprised of the X,Y coordinates of the patch and the mean abundance. Elements of each triplet are colon (:) delimited, and each triplet is delimited by the delimiter specified at the command line.

Example

The following command:

getpopulations example.mp 2000 ,

produces the following output. Note that only the first line is reproduced here, due to the large amount of data this application can output.

Populations loaded: 358
2000,8.331:0.506:10.124,7.721:2.001:52.48,13.892:22.885:726.1,6.72:23.004:6.784,
15.12:23.1:15.35,10.929:23.537:10.195,11.606:23.696:19.01,12.06:23.745:6.637,12.
617:24.146:11.82,13.08:24.225:7.972,7.17:24.51:5.974,7.764:25.224:13.96,16.512:2
.292:6.468,12.478:25.423:103.72,11.85:25.11:7.525,8.553:23.277:757.8,7.849:2.564
:0,12.585:22.875:1.709,8.507:20.252:3.292,8.591:21.433:323.5,4.38:0.585:0,6.36:1
.365:0,7.98:6.288:0,9.78:3.08:3.669,8.025:8.685:0,7.7:9.02:0,7.11:9.555:0,11.265
:15.93:0,14.364:23.568:0,9.132:23.588:0,9.42:26.366:0,8.762:21.919:0,7.628:22.44
8:0,0.58:0.18:0,16.965:3.48:10.91,0.2:0.38:0,4.665:0.75:0,13.44:1.89:0,5.34:3.48
:0,16.47:4.83:0,6.705:7.905:0,17.412:10.092:0,8.54:10.08:0,16.17:21.08:0,15.012:
21.744:0,12.185:3.589:14.22,15.035:22.443:0,9.277:24.794:0,10.269:27.926:0,11.47
3:27.967:0,20.51:0.35:0,12.09:1.11:0,10.68:3.3:0,13.155:5.115:0,17.96:6.8:0,9.58
:7.94:0,13.26:3.576:6.776,14.442:23.087:0,8.14:25.82:0,3.33:0.285:0,3.84:0.24:0,
20.532:1.08:0,3.51:1.95:0,13.815:4.365:0,14.532:8.724:0,9.313:25.73:0,11.52:27.2
7:0,4.24:3.58:3.578,8.955:22.958:0,12.87:3.12:0,13.632:3.84:0,13.4:4.61:0,6.9:6.
18:0,12.78:7.72:0,8.37:9.51:0,11.108:15.285:0,12.444:25.044:0,10.859:26.789:0,5.
16:4.035:4.894,9.554:21.279:0,7.919:21.587:0,9.06:23.473:0,14.988:22.62:0,9.343:
24.497:0,14.881:23.525:0,15.456:23.976:0,5.595:1.5:0,14.46:2.325:0,11.58:4.38:0,
6.96:4.104:6.805,6.585:6.345:0,14.244:8.088:0,14.73:8.115:0,8.505:8.955:0,9.78:1
9.62:0,7.909:23.362:0,7.32:23.366:0,8.6:20.59:0,8:21.2:0,6.34:0.21:0,7.166:0.54:
8.932,14.46:4.35:7.75,13.12:0.74:0,20.46:1.89:0,5.565:3.135:0,4.56:3.15:0,19.98:
3.93:0,7.38:4.86:0,6.285:6:0,13.248:6.324:0,13.635:6.87:0,6.7:8.72:0,12.423:4.33
6:29.49,17.5:9.76:0,8.07:26.73:0,9.435:21.015:0,7.08:24.048:0,0.705:0.81:0,16.16
:0.98:0,5.01:1.44:0,18.585:5.265:0,18.135:6.495:0,17.565:6.96:0,14.94:4.29:4.831
,6.63:7.11:0,3.015:7.17:0,3.54:7.48:0,15.26:8.06:0,15.24:8.655:0,8.295:11.175:0,
10.5:11.79:0,10.742:16.198:0,8.76:26.853:0,8.109:21.643:0,15.343:4.594:8.591,0.9
9:2.445:0,12.21:3.03:0,16.31:6.59:0,16.509:8.606:0,17.592:11.304:0,15.229:15.111
:0,8.903:16.68:0,13.852:22.995:0,7.725:23.694:0,10.875:15.75:0,6.72:4.86:4.026,4
.665:1.185:0,8.928:1.968:0,5.88:2.064:0,15.912:4.776:0,17.112:7.284:0,15.986:8.3
74:0,17.52:8.715:0,13.24:8.66:0,15.225:9.99:0,20.46:2.38:0,12.564:5.112:13.1,3.5
85:3.615:0,5.712:5.496:0,7.53:8.535:0,14.916:8.82:0,13.18:8.94:0,9.045:11.595:0,
12.81:21.596:0,8.198:24.371:0,11.808:26.766:0,10.869:0.429:0,5.38:5.273:11.58,4.
185:1.08:0,2.112:2.16:0,14.86:2.14:0,11.8:2.42:0,5.4:2.595:0,17.16:4.166:0,7.71:
6.645:0,19.56:7.56:0,2.175:8.64:0,9.03:9.345:0,8.76:5.34:5.819,7.66:9.4:0,12.732
:22.008:0,9.753:27.322:0,8.055:23.79:0,2.325:1.41:0,14.46:1.395:0,11.5:1.5:0,0.9
9:1.56:0,12.225:1.8:0,13.87:2.25:0,8.195:5.751:78.4,4.53:2.52:0,19.06:4.94:0,8.9
2:8.92:0,13.995:9.375:0,7.12:9.96:0,8.1:13.284:0,7.755:19.253:0,8.494:24.994:0,9
.24:27.288:0,2.724:0.792:0,6.26:5.61:7.564,13.56:0.855:0,1.92:1.755:0,12.41:2.11
:0,5.85:2.415:0,16.305:3.615:0,16.635:3.81:0,7.29:6.69:0,19.8:0.255:0,14.58:0.6:
0,20.2:2.56:0,5.745:0.705:4.686,8.92:6.564:56.49,5.58:4.14:0,13.11:5.595:0,16.2:
6.06:0,4.98:6.465:0,14.48:11.18:0,9.98:0.66:0,13.26:2.82:0,6.564:4.404:0,6.27:4.
59:0,8:7.24:0,5.76:6.735:5.012,16.98:8.74:0,17.64:9.38:0,14.016:12.936:0,10.638:
26.289:0,10.29:26.655:0,14.9:0.14:0,14.085:0.51:0,4.16:2.16:0,3.87:2.79:0,12.465
:2.685:0,6.81:6.75:6.089,5.115:4.62:0,5.62:6.12:0,6.156:9:0,14.46:10.26:0,16.28:
3.3:0,19.94:3.32:0,7.728:5.256:0,9.81:5.97:0,14.52:6.44:0,0.9:6.54:0,10.32:7.12:
3.929,5.655:7.62:0,5.235:8.535:0,7.121:0.447:0,4.628:1.155:0,3.705:3.652:0,11.58
9:4.297:0,13.407:4.587:0,13.11:5.595:0,7.73:6.65:0,13.286:6.309:0,13.44:7.2:6.50
8,17.529:8.683:0,8.5:8.95:0,8.263:11.169:0,14.86:2.14:0,14.416:2.276:0,5.6:1.447
:0,16.5:8.613:0,1.92:1.755:0,8.92:8.92:0,12.41:2.11:0,7.55:7.28:8.829,8.18:16.46
:0,16.17:21.09:0,7.98:21.21:0,12.75:21.99:0,8.34:22.605:0,7.716:23.604:0,8.175:2
4.33:0,11.73:26.71:0,9.72:27.72:0,7.2:7.425:6.594,13.965:7.395:4.857,14.784:7.66
8:5.923,8.517:8.306:29.36,7.848:0.996:19.21,7.596:7.982:35.65,9.444:8.328:7.091,
17.16:8.3:3.684,13.835:8.599:24.68,7.74:8.775:6.35,8.1:9.184:20.07,16.632:9.768:
6.55,16.9:10.08:7.646,9.203:11.092:196.1,14.536:11.56:20.26,6.18:0.9:5.981,17.55
:11.805:10.93,10.39:12.33:8.397,15.028:13.417:149.5,9.91:13.1:9.03,9.072:13.284:
7.874,9.405:13.305:6.775,7.125:13.545:4.659,9.761:13.969:81.67,15.666:13.908:15.
53,13.73:13.965:15.79,6.045:1.32:4.753,17.124:13.872:6.759,17.16:14.79:5.285,15.
508:15.218:93.93,8.849:15.313:79.7,10.596:15.483:241.2,8.246:15.669:11.26,9.405:
16.258:142.7,15.912:15.888:7.633,8.18:16.46:5.543,10.373:16.77:13.85,16.526:1.62
:8.673,10.969:16.821:48.27,11.505:16.635:7.198,15.382:16.747:10.99,8.025:16.995:
5.326,10.515:17.145:8.084,7.485:17.565:7.49,10.332:17.736:13.92,8.79:17.7:6.047,
6.39:17.835:11.7,8.025:17.865:9.74,7.068:1.698:13.85,9.54:18.123:23.46,10.316:18
.254:20.81,16.41:18.18:4.713,7.8:18.66:12.24,9.943:18.686:10.144,9.477:19.083:36
.03,7.615:19.592:77.39,9.96:19.26:8.427,16.908:19.56:8.523,9.668:19.948:55.09,6.
24:1.74:4.061,17.193:19.849:16.67,16.464:20.124:7.818,16.791:20.289:11.36,7.172:
20.596:34.19,16.292:20.782:41.94,15.57:21.378:80.41,16.32:21.85:9.493,15.672:21.
972:9.967,16.425:22.245:6.819,15.857:22.586:10.37,7.963:25.923:25.04,7.181:26.84
6:40.01,9.995:27.072:1109,13.937:26.943:30.75,15.03:27.18:4.804,12.25:27.17:9.72
2,4.838:27.278:13.51,16.329:27.343:8.782,12.975:27.48:6.235,5.45:27.6:7.818,10.8
96:27.948:12.86




Back to RAMAS Metapop Tools main page.


Maintained by Dr Michael J. Watts