Skip to content

Commit

Permalink
Match for wind gust components
Browse files Browse the repository at this point in the history
  • Loading branch information
mpartio committed Apr 3, 2024
1 parent ddd9ae8 commit d422535
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions himan-lib/source/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -883,8 +883,9 @@ aggregation util::GetAggregationFromParamName(const std::string& name, const for
// maximum thickness of some level
// eg. TMAX-K, TMIN12H-C
const std::regex r2("(?:T|POT)(MAX|MIN)([0-9]+H)?-[A-Z0-9]+");
// match wind gust
const std::regex r3("FFG([0-9]+H)?-MS");
// match wind gust, also components
// eg. FFG-MS, FFG3H-MS, WGU-MS
const std::regex r3("(?:FFG|WGU|WGV)([0-9]+H)?-MS");
// match one hour precipitation accumulations
const std::regex r4("SNR[CL]-KGM2|SNR-KGM2|RRR-KGM2|RRR[SLC]-KGM2");
// match precipitation accumulation from forecast start
Expand Down

0 comments on commit d422535

Please sign in to comment.