Closed teaiii closed 9 months ago
Hi, did you solve the problem?
_goftotal<-gof(time.serie.raster[,2:7672], time.serie.est[,2:7672],na.rm = TRUE) Error in if (sd.obs > 0) { : missing value where TRUE/FALSE needed
:/
without a reproducible example it is impossible to analyse this issue.
This should have been solved in the new hydroGOF 0.5-0
I have written an R script that calculates all the GOF statistics for a lot of data. I'm getting this error:
Error in if (sd.obs > 0) { : missing value where TRUE/FALSE needed
I know that I have some long runs of '0' obs, not missing, but '0'
What to do? na.rm = TRUE is not the answer.
Thank you, Tom