Weiming-Hu / AnalogsEnsemble

The C++ and R packages for parallel ensemble forecasts using Analog Ensemble
https://weiming-hu.github.io/AnalogsEnsemble/
MIT License
18 stars 5 forks source link

Match SSE stations #114

Closed Weiming-Hu closed 3 years ago

Weiming-Hu commented 3 years ago

In this pull request, a new class is added to the C and R API. AnEnSSEMS stands for AnEn Search Space Extension with matching stations. This class is helpful when there are different numbers of observation and forecast stations. In this case, the default behavior is that AnEn is trying to match stations based on locations and Euclidean distances. Users can also specify the linking manually by providing a list of indices that tells the program which forecast station should be matched with each of the observation stations.