harphub / harpIO

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

Gross error check for point obs fails when no data #69

Closed andrew-MET closed 2 years ago

andrew-MET commented 3 years ago

When running read_point_obs(), and no data are found, a gross error check is still attempted. This leads to an unrecoverable error in the internal function get_max_obs_allowed() [gross_error_check.R] when it tries to correct for different units - e.g. for wind in km / h the max allowed needs to multiplied by 3.6.