Vector habitat report (VectorHabitatReport.json)¶
The vector habitat report is a JSON-formatted file containing the habitat data for each vector species included in the simulation. It focuses on statistics relevant to mosquito developmental stages (e.g. eggs and larvae), such as egg capacity and larval crowding.
The output file is a binned JSON report named VectorHabitatReport.json.
To generate the report, use the dynamic link library (DLL) titled libvectorhabitat_report_plugin.dll. For more information on using DLLs for reports, see Custom reporters.
Header¶
The header section contains the following parameters:
Parameter |
Data type |
description |
|||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Channels |
integer |
The number of statistics in the report; this should always be equal to 7. |
|||||||||||||||
DateTime |
string |
The date and time the report was created. |
|||||||||||||||
DTK_Version |
string |
The version of EMOD that was used. |
|||||||||||||||
Report_Version |
string |
The format version of the report. |
|||||||||||||||
Timesteps |
integer |
The number of time steps in the simulation (which should be the number of entries in the inner dimension of the data). |
|||||||||||||||
Subchannel_Metadata |
nested JSON object |
A collection of parameters defining the contents of the channel data. It includes the following parameters:
|
Channels¶
The channels section contains the following parameters:
Parameter |
Data type |
Description |
||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<Channel_Title> |
string |
The title of the particular channel. Possible channels are:
|
||||||||||||||||||||||||
Units |
string |
The units used for this channel. |
||||||||||||||||||||||||
Data |
array |
A two-dimensional array of the channel data at each time step where the outer dimension is for each species:habitat and the inner dimension is for each time step. |
Example¶
{
"Header": {
"DateTime": "Fri May 17 15:33:03 2019",
"DTK_Version": "4148 Malaria-Ongoing (bb265ad) May 16 2019 09:39:35",
"Report_Version": "2.1",
"Timesteps": 5,
"Subchannel_Metadata": {
"AxisLabels": [
[
"Species:Habitat"
]
],
"NumBinsPerAxis": [
[
3
]
],
"ValuesPerAxis": [
[
[
0,
0,
0
]
]
],
"MeaningPerAxis": [
[
[
"gambiae:TEMPORARY_RAINFALL",
"funestus:WATER_VEGETATION",
"arabiensis:TEMPORARY_RAINFALL"
]
]
]
},
"Channels": 7
},
"Channels": {
"Artificial Larval Mortality": {
"Units": "",
"Data": [
[
0,
0,
0,
0,
0
],
[
0,
0,
0,
0,
0
],
[
0,
0,
0,
0,
0
]
]
},
"Current Habitat Capacity": {
"Units": "",
"Data": [
[
402.5242614746,
469.3384094238,
482.3938293457,
730.068359375,
718.5045776367
],
[
195.2786865234,
230.9520568848,
242.8811035156,
376.0362548828,
384.9170837402
],
[
3622.71875,
4224.045898438,
4341.544433594,
6570.615234375,
6466.541503906
]
]
},
"Egg Crowding Factor": {
"Units": "",
"Data": [
[
1,
0.1548170298338,
0.01222433708608,
0.03274614363909,
0.212905973196
],
[
1,
0.1394847780466,
0.03747003525496,
0.0134865026921,
0.1550362557173
],
[
1,
1,
1,
1,
1
]
]
},
"Local Larval Growth Modifier": {
"Units": "",
"Data": [
[
1,
1,
1,
1,
1
],
[
1,
1,
1,
1,
1
],
[
1,
1,
1,
1,
1
]
]
},
"Local Larval Mortality": {
"Units": "",
"Data": [
[
1,
1,
1,
1,
1
],
[
1,
1,
1,
1,
1
],
[
1,
1,
1,
1,
1
]
]
},
"Rainfall Larval Mortality": {
"Units": "",
"Data": [
[
0,
0,
0,
0,
0
],
[
0,
0,
0,
0,
0
],
[
0,
0,
0,
0,
0
]
]
},
"Total Larva": {
"Units": "",
"Data": [
[
0,
440,
430,
432,
721
],
[
0,
171,
224,
221,
334
],
[
0,
1600,
2840,
3978,
3987
]
]
}
}
}