|
MalariaSentinel — C++ reference
The contract-defining headers of the ABM engine
|
#include <config.hpp>
Public Attributes | |
| double | nodata_sentinel = 0.0 |
| int | nodata_sentinel_int = 0 |
| double | residential_from_indoor_frac = 0.0 |
| double | coastline_buffer_m = 0.0 |
| std::string | coastline_resolution = "f" |
| GSHHG resolution code for the coastline artifact: c/l/i/h/f. | |
| double | sea_water_floor = 0.05 |
| Land fraction below which an AOI cell counts as water. | |
| double | cell_size_hint_m = 0.0 |
| double | candidate_min_ingest = 0.0 |
| int | min_dilation_radius_cells = 0 |
| double | fill_frac_valid_max = 0.0 |
| double | ocean_mask_threshold = 0.0 |
| double | land_mask_threshold = 0.0 |
| double | valid_count_epsilon = 0.0 |
| int | grid_degrees_step_max = 0 |
| int | nc_compression_level = 0 |
Input-side constants of the ingest stage: the NoData sentinel, the coastal band and the masking/threshold rules applied while the environment NetCDF is written. Several of them are consumed by the Python writer, not by the engine (ingest: section of model_constants.yaml).
| double mal_abm_fast::IngestCfg::candidate_min_ingest = 0.0 |
Habitat-potential floor (index) applied by the ingest census when it marks candidate patches — a deliberately different role from habitat.candidate_min_engine, which the engine applies afterwards (ingest.candidate_min_ingest).
| double mal_abm_fast::IngestCfg::cell_size_hint_m = 0.0 |
Default cell size (m) of the simulation grid when the run does not override the AOI resolution (ingest.cell_size_hint_m).
| double mal_abm_fast::IngestCfg::coastline_buffer_m = 0.0 |
Width of the coastal band that keeps its JRC water (historical name: it no longer dilates the land mask; see coastline.py sea_mask()).
| double mal_abm_fast::IngestCfg::fill_frac_valid_max = 0.0 |
Maximum NoData fraction of a cell for it to count as valid (ingest.fill_frac_valid_max).
| int mal_abm_fast::IngestCfg::grid_degrees_step_max = 0 |
Maximum implicit step (degrees) allowed when reconstructing a grid expressed in degrees (ingest.grid_degrees_step_max).
| double mal_abm_fast::IngestCfg::land_mask_threshold = 0.0 |
Land-fraction threshold of the land mask (ingest.land_mask_threshold). Loaded into this struct but read by no engine code.
| int mal_abm_fast::IngestCfg::min_dilation_radius_cells = 0 |
Minimum radius (in cells) of the morphological dilation applied to the land/ocean masks (ingest.min_dilation_radius_cells). Loaded into this struct but read by no engine code.
| int mal_abm_fast::IngestCfg::nc_compression_level = 0 |
zlib compression level used when writing the environment NetCDF — a file-format setting, not a model parameter (ingest.nc_compression_level).
| double mal_abm_fast::IngestCfg::nodata_sentinel = 0.0 |
Float NoData sentinel written into the environment NetCDF and the COGs, and recognised when they are read back (ingest.nodata_sentinel).
| int mal_abm_fast::IngestCfg::nodata_sentinel_int = 0 |
Integer mirror of the NoData sentinel, used by the label-mode (categorical) writers (ingest.nodata_sentinel_int).
| double mal_abm_fast::IngestCfg::ocean_mask_threshold = 0.0 |
Land-fraction threshold of the ocean mask (ingest.ocean_mask_threshold). Loaded into this struct but read by no engine code.
| double mal_abm_fast::IngestCfg::residential_from_indoor_frac = 0.0 |
Fraction of the indoor host fraction attributed to residential cells when the building fraction is unavailable (ingest.residential_from_indoor_frac).
| double mal_abm_fast::IngestCfg::valid_count_epsilon = 0.0 |
Tolerance (counts) below which a valid-pixel count is treated as zero (ingest.valid_count_epsilon).