harphub / harpIO

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

Allow specification of user parameters #30

Closed andrew-MET closed 4 years ago

andrew-MET commented 4 years ago

This PR allows a user to specify their own parameters to read from files using the as_harp_parameter() function. The user must pass at a minimum the fullname of the parameter and optionally a different basename. Plus the vertical level and level type can be passed to the function as well as an accumulation time and the time unit for the accumulation time.

It's not perfect in that only one parameter name can be read from a file at a time using this approach.