harphub / harpIO

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

Read ensemble forecasts as deterministic #83

Closed andrew-MET closed 7 months ago

andrew-MET commented 2 years ago

When reading just one member from an ensemble, it would be good to have an option for the resulting data frame to be of the format for deterministic models.

This would simply mean changing the column name from "{fcst_model}_mbxXXX" to "{fcst_model}_det". Adding an as_det = to read_forecast() and read_point_forecast() should be sufficient to select the option.

The option can also be added to select_members, which is currently in harpPoint, but will be moved to the new harpMethods / harpUtils package.

andrew-MET commented 7 months ago

as_det() function added