Waterwijzer Module: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
(Replaced content with "{{Template:Waterwijzer Module buttons}} The Waterwijzer module calculates the result for the following question: ''I want to know the expected loss of earnings for agricu...")
Line 2: Line 2:
The Waterwijzer module calculates the result for the following question:
The Waterwijzer module calculates the result for the following question:
  ''I want to know the expected loss of earnings for agriculture based on the crop, soil type and local ground water levels, given a climate scenario and the expected weather.''
  ''I want to know the expected loss of earnings for agriculture based on the crop, soil type and local ground water levels, given a climate scenario and the expected weather.''
==Considerations==
The Waterwijzer Overlay communicates with the [https://waterwijzerlandbouw.wur.nl/query-wdb.php?f=JSON Waterwijzer API] to calculate the loss of earnings for agriculture crops based on the following parameters:
* A [[Climate_scenario_(Waterwijzer_Overlay)|climate scenario]];
* A [[Weather_station_(Waterwijzer_Overlay)|weather station]];
* [[Bofek_id_(Waterwijzer_Overlay)|Type of soil]];
* [[Brp_code_(Waterwijzer_Overlay)|Type of crop]];
* [[High_ground_water_(Waterwijzer_Overlay)|Highest]] and [[Low_ground_water_(Waterwijzer_Overlay)|lowest]] (averaged) ground water levels;
* The irrigation parameter, which in the [https://waterwijzerlandbouw.wur.nl/tool.html Waterwijzer tool] is active for a number of the crop types, is currently not taken into account.
==Concept==
#User generates a project for an area in the Netherlands using the {{software}}.
#*The Dutch BRP geo-plugin retrieves the known agriculture plots. Each agriculture plot has an identification number for the type of plot, which is stored in the [[BRP_CODE]] attribute.
#*The Dutch BRO geo-plugin retrieves the known soil types, stored as underground terrain. The simplified [[BOFEK_ID]] is configured by default for each terrain type of these terrain.
#User adds a [[Waterwijzer Overlay]] and configures:
##The climate scenario and weather station are configured using the Waterwijzer Overlay Wizard
##The ground water levels can also be configured using the Waterwijzer Overlay Wizard. These ground water levels can be provided as:
##* A [[GeoTiff|geotiff]] containing ground water depths;
##* A result type of the [[Subsidence Overlay]]; See [[Hi_ground_water_result_type_(Subsidence_Overlay)|high]] and [[Low_ground_water_result_type_(Subsidence_Overlay)|low ground water depths]].
##* A result type of the [[Groundwater_(Overlay)|Groundwater Overlay]]; See [[Ground_last_value_result_type_(Water_Overlay)|last ground water depth]] and [[Ground_max_value_result_type_(Water_Overlay)|max depth]]
# User triggers the calculation of the overlay. The Waterwijzer Module sends the data to Waterwijzer API and receives data on loss of earnings.
# The Waterwijzer module then stores the grid data under following result type overlays, categorized as:
#* [[Damage_dry_result_type_(Waterwijzer Overlay)|Dry]]: low water levels cause crops to dry out;
#* [[Damage_wet_result_type_(Waterwijzer Overlay)|Wet]]: high water levels cause crops' roots to suffocate;
#* [[Damage_indirect_result_type_(Waterwijzer Overlay)|Indirect]]: Indirect causes, related to combinations of crop, soil, weather and water levels
#* [[Damage_salt_result_type_(Waterwijzer Overlay)|Salt]]: salt water irrigation causes damage to crops;
#* [[Damage_total_result_type_(Waterwijzer Overlay)|Total]]: the sum of the previous four categories.
<ul>
<li style = "display:inline-block">[[File:Waterwijzer_damage_dry.jpeg|200xpx]]</li>
<li style = "display:inline-block">[[File:Waterwijzer_damage_wet.jpeg|200xpx]]</li>
<li style = "display:inline-block">[[File:Waterwijzer_damage_indirect.jpeg|200xpx]]</li>
<li style = "display:inline-block">[[File:Waterwijzer_damage_salt.jpeg|200xpx]]</li>
<li style = "display:inline-block">[[File:Waterwijzer_damage_total.jpeg|200xpx]]</li>
</ul>
==Calculation==
The Waterwijzer Overlay is a [[Grid Overlay]]. The project area is rasterized into grid cells, each containing a value for:
* the type of crop, identified by their [[Brp code (Waterwijzer Overlay)|BRP Code]].
* the soil: [[BOFEK_ID]]
* the lowest (average) ground water depth: distance to surface, from geotiff or result overlay.
* the highest (average) ground water depth: distance of surface, from geotiff or result overlay.
The climate scenario and weather station are a defined for the overlay and therefore the same for each grid cell.
Each unique combination of crop, soil, ground water depths, climate scenario and weather station leads to four loss of earning values, one for each category, which were described above.
To make it more efficient, we send each combination only once. The ground water levels have the most variance. However, the Waterwijzer API interprets the groundwater levels with a precision of 0.1 meter.
Once the loss of earnings have been send back for each combination, we process all grid cells and store it's loss of earnings, depending on the result types configured for the Waterwijzer Overlay.
==Notes==
* Currently we round the ground water values to the nearest value based on the 0.1 meter precision. However, in the near future we will replace this with bi-linear interpolation between the 4 combinations of floored and ceiled ground water levels, which is similar to the calculation done by the Waterwijzer's standalone application.

Revision as of 16:18, 16 July 2020

The Waterwijzer module calculates the result for the following question:

I want to know the expected loss of earnings for agriculture based on the crop, soil type and local ground water levels, given a climate scenario and the expected weather.