harphub / harpIO

IO functions for HARP
https://harphub.github.io/harpIO/
Other
6 stars 16 forks source link

Combine variables on reading #44

Closed andrew-MET closed 11 months ago

andrew-MET commented 3 years ago

In some cases a user may want to combine variables from a file into a single variable. Such as getting wind speed and wind direction from u and v winds as in #37, but would also be useful in calculating total precipitation from rain, snow and graupel and or resolved and parameterized components.

It would be good to have in read_forecast() a way of doing this, by passing the variables to be read and a function to combine them.