metoppv / improver

IMPROVER is a library of algorithms for meteorological post-processing.
http://improver.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
102 stars 85 forks source link

Find wind direction from multiple forecasts - plugin. #490

Closed MarkWorsfold closed 6 years ago

MarkWorsfold commented 6 years ago

As the IMPROVER product owner I would like IMPROVER to have the capability to compute the expected wind direction from multiple forecasts (rather than just from the control).

The purpose of this ticket is to build on the work done in IMPRO-476 to introduce the complex numbers approach into a plugin. Usually blending between ensembles is done via a probabilistic approach (probability of temperature exceeding a threshold) - however this code blends by simply taking an average of the wind direction.

1) Implement the complex number wind direction averaging code from IMPRO-476. 2) Then implement code from IMPRO-476 to calculate the confidence values (r-values and CJs "average distance from central point"). These confidence values are an intrinsic componenent of 1) and will take approximately 15 minutes to include in the code. What we actually do with these confidence values will be the subject of ticket #491.

Related issues (follow on work):

Acceptance criteria:

MarkWorsfold commented 6 years ago

Created pull request: https://github.com/metoppv/improver/pull/535