Waterwijzer Module overview: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
 
(15 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Template:Waterwijzer Module buttons}}
{{unavailable}}
 
The [[Waterwijzer_Overlay#Module|Waterwijzer Overlay]] communicates with the [https://waterwijzerlandbouw.wur.nl/query-wdb.php?f=JSON Waterwijzer API] to calculate the yield loss for agriculture crops.
==Considerations==
The [[Waterwijzer_Overlay#Module|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.
* The version of the [https://waterwijzerlandbouw.wur.nl/tool.html Waterwijzer tool], for which we currently always use 2.0.0.


==Concept==
==Concept==
#User generates a project for an area in the Netherlands using the {{software}}.  
#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 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 (Waterwijzer Overlay)|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.
#*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:
#User adds a [[Waterwijzer Overlay]] and configures:
##The climate scenario and weather station are configured using the Waterwijzer Overlay Wizard
##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:
##The groundwater levels can also be configured using the Waterwijzer Overlay Wizard. These ground water levels can be provided as a [[Prequels (Waterwijzer Overlay)|Grid Overlay prequel]] representing either the [[Low ground water prequel (Waterwijzer Overlay)|low]] or the [[High ground water prequel (Waterwijzer Overlay)|high]] ground water level.
##* A [[GeoTiff|geotiff]] containing ground water depths;
# User triggers the calculation of the overlay. The Waterwijzer Module sends the data to Waterwijzer API and receives data on yield losses.
##* 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:
# 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_dry_result_type_(Waterwijzer Overlay)|Dry]]: low water levels cause crops to dry out;
Line 41: Line 29:
* the type of crop, identified by their [[Brp code (Waterwijzer Overlay)|BRP Code]].
* the type of crop, identified by their [[Brp code (Waterwijzer Overlay)|BRP Code]].
* the soil: [[BOFEK_ID]]
* the soil: [[BOFEK_ID]]
* the lowest (average) ground water depth: distance to surface, from geotiff or result overlay.
* the lowest (average) groundwater depth: distance to surface, from the configured prequel Grid Overlay for LOW_GROUND_WATER.
* the highest (average) ground water depth: distance of surface, from geotiff or result overlay.  
* the highest (average) groundwater depth: distance of surface, from the configured prequel Grid Overlay for HIGH_GROUND_WATER.
The climate scenario and weather station are a defined for the overlay and therefore the same for each grid cell.  
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.
Each unique combination of crop, soil, groundwater depths, climate scenario and weather station leads to four yield loss 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.
To make it more efficient, we send each combination only once. The groundwater 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.
Once the yield loss has been sent back for each combination, we process all grid cells and store it's yield loss, depending on the result types configured for the Waterwijzer Overlay.


==Notes==
==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.
* Currently we round the groundwater 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 groundwater levels, which is similar to the calculation done by the Waterwijzer's standalone application.
 
{{WaterwijzerOverlay model attribute nav}}
{{WaterwijzerOverlay result nav}}

Latest revision as of 14:32, 13 December 2023

This functionality is currently unavailable or non-functional.

The Waterwijzer Overlay communicates with the Waterwijzer API to calculate the yield loss for agriculture crops.

Concept

  1. User generates a project for an area in the Netherlands using the Tygron Platform.
    • 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.
  2. User adds a Waterwijzer Overlay and configures:
    1. The climate scenario and weather station are configured using the Waterwijzer Overlay Wizard
    2. The groundwater levels can also be configured using the Waterwijzer Overlay Wizard. These ground water levels can be provided as a Grid Overlay prequel representing either the low or the high ground water level.
  3. User triggers the calculation of the overlay. The Waterwijzer Module sends the data to Waterwijzer API and receives data on yield losses.
  4. The Waterwijzer module then stores the grid data under following result type overlays, categorized as:
    • Dry: low water levels cause crops to dry out;
    • Wet: high water levels cause crops' roots to suffocate;
    • Indirect: Indirect causes, related to combinations of crop, soil, weather and water levels
    • Salt: salt water irrigation causes damage to crops;
    • Total: the sum of the previous four categories.
  • Waterwijzer damage dry.jpeg
  • Waterwijzer damage wet.jpeg
  • Waterwijzer damage indirect.jpeg
  • Waterwijzer damage salt.jpeg
  • Waterwijzer damage total.jpeg

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.
  • the soil: BOFEK_ID
  • the lowest (average) groundwater depth: distance to surface, from the configured prequel Grid Overlay for LOW_GROUND_WATER.
  • the highest (average) groundwater depth: distance of surface, from the configured prequel Grid Overlay for HIGH_GROUND_WATER.

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, groundwater depths, climate scenario and weather station leads to four yield loss values, one for each category, which were described above. To make it more efficient, we send each combination only once. The groundwater levels have the most variance. However, the Waterwijzer API interprets the groundwater levels with a precision of 0.1 meter.

Once the yield loss has been sent back for each combination, we process all grid cells and store it's yield loss, depending on the result types configured for the Waterwijzer Overlay.

Notes

  • Currently we round the groundwater 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 groundwater levels, which is similar to the calculation done by the Waterwijzer's standalone application.