Closed sebvi closed 9 months ago
https://github.com/wmo-im/CCT/wiki/Teleconference.17.18.October.2023 notes: Sebastien introduced the proposal; team has no questions yet
https://github.com/wmo-im/CCT/wiki/Teleconference.21.22.November.2023 notes: @sebvi add note on the units; Sebastien will update the branch and prepare samples;
https://github.com/wmo-im/CCT/wiki/Teleconference.21.29.November.2023 notes:
in progress; add images as appendix with proper credit if needed;
branch updated
Adding the appendix to explain better the concepts behind focal statistics. Thanks to @rdosinski for preparing the appendix Appendix_FocalStatsProposals.docx
I am attaching a sample file together with the original field be fore applying the focal statistics
https://github.com/wmo-im/CCT/wiki/Teleconference.10.January.2024 notes:
Sebastien added a doc for an appendix; @sebvi will update the proposal; @SibylleK to validate the sample; @amilan17 revalidate the branch
I tried to validate the sample (only from a purely technical point of view). The entries in section 4 of the GRIB example file PDTN_121_upscaled_tprate.grib2 were read with a DWD GRIB reader software and the entries were the same as in an output of eccodes grib_dump.
Here are some comments:
@amilan17, @sebvi , I hope it is not to late to make these minor changes.
Apart from that, from a technical point of view, the proposal can be considered validated.
Initial request
This proposal extends the probability templates 4.119 and 4.120 by additional keys which allow to encode a spatiotemporal processing based on focal (moving windows) statistics. The design of the template is inspired by the focal statistics functionality available in the ArcGIS software, documented under https://desktop.arcgis.com/en/arcmap/latest/tools/spatial-analyst-toolbox/how-focal-statistics-works.htm .
The templates are intended to be used to encode probability products of upscaled high-resolution forecasts. For example, probabilities of precipitation based on ensemble forecasts of high spatial resolution show often low point probabilities as the fine structures in the forecasts are located at different positions in the ensemble members. With the upscaling, the spatial resolution of the original forecast is the same, but for each individual grid cell, a new value is assigned, which is based on a statistical processing of values in the grid cells neighbourhood.
Figure 1: Example of focal statistics with the maximum function
Figure 2: Example of an upscaled forecast using focal statistics with maximum function (https://doi.org/10.1002/met.1674) Exceedance probabilities are then calculated based on the upscaled raster’s. a) raw forecast of echotop18 b) Upscaled with maximum function and 9x9 grid cells rectangle
Another use case is the encoding of strike probabilities which are based on a spatiotemporal proximity criterion.
Figure 3: Example for the calulation of hurricane strike probabilities based on hurricane tracks.
A branch with an implementation of this template is accessible under: https://github.com/ecmwf/eccodes/tree/feature/ECC-1705-probabilitiesWithFocalStats
Amendment details
ADD the following templates entries in code table 4.0.
ADD a new Code Table 4.103 - Spatial vicinity type.
Notes: The following additional arguments must be specified: • Circle - 1 argument for the radius in metres • Rectangle - 2 arguments for the length in 1. west-east and 2. south-north in metres • Square - 1 argument for the length of the equal-length sides in metres • Wedge - 3 arguments for 1. radius in metres and 2. start and 3. end radius in arithmetic degrees with 0 on the positive axis along west-east and counted counter-clockwise. • Number of grid cells - 2 arguments regarding the number of grid cells in 1. west-east and 2. south-north
ADD a new Code Table 4.104 - Spatial and temporal vicinity processing.
Note: The option quantile needs two additional arguments, 1. The total number of quantiles and 2. the quantile value. Compare templates 4.86 or 4.87.
ADD a new Code Table 4.105 - Spatial and temporal vicinity missing data.
Add to code table 4.2 new entries to Product discipline 0 - Meteorological products, parameter category 191: miscellaneous.
Note. 0/191/5-7 are intended to be used with templates 4.121 and 4.122 in which the spatiotemporal criteria is encoded used to get a categorical yes/no per grid point of each ensemble member.
Add to code table 4.9
Note: For Code no 9, Scale Factor of Lower Limit, Scaled Value of Lower Limit, Scale Factor of Upper Limit and Scaled Value of Upper Limit must be set to missing. This entry can be used with 0/191/5-7 entries but are not limited to them.
ADD Template 4.121 - Probability forecasts from large ensembles with spatiotemporal processing based on focal (moving window) statistics at a horizontal level or in a horizontal layer at a point in time.
ADD Template 4.122 - Probability forecasts with spatiotemporal processing based on focal (moving window) statistics at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval.
Comments
No response
Requestor(s)
Robert Osinski (ECMWF) Sebastien Villaume (ECMWF)
Stakeholder(s)
ECMWF
Publication(s)
Example: Manual on Codes (WMO-No. 306), Volume I.2, GRIB templates + table in section 4
Expected impact of change
MEDIUM
Collaborators
No response
References
No response
Validation
No response