You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use the calc_allHIT on modelled flow data in South Africa. This seems to run fine on some sets of data (stations), but gives the following error on others:
Error in na_locf(x, option, na.remaining, maxgap) :
Input data has only NAs. Input data needs at least 1 non-NA data point for applying na_locf
I have wracked my brain for almost a month now trying to figure out why I keep getting this error.
I am attaching my simplified R script and two data sheets (one that works and one that does not). I would greatly appreciate any insight into what may be causing this error.
Hi,
I am trying to use the calc_allHIT on modelled flow data in South Africa. This seems to run fine on some sets of data (stations), but gives the following error on others:
Error in na_locf(x, option, na.remaining, maxgap) :
Input data has only NAs. Input data needs at least 1 non-NA data point for applying na_locf
I have wracked my brain for almost a month now trying to figure out why I keep getting this error.
I am attaching my simplified R script and two data sheets (one that works and one that does not). I would greatly appreciate any insight into what may be causing this error.
Kind regards,
Mohammed Kajee
University of Cape Town
[email protected]
Mohammed Kajee_Files.zip
The text was updated successfully, but these errors were encountered: