hzambran / hydroGOF

Goodness-of-fit functions for comparison of simulated and observed hydrological time series
https://CRAN.R-project.org/package=hydroGOF
39 stars 13 forks source link

Gof error #17

Closed Doltrix closed 9 months ago

Doltrix commented 1 year ago

Hello I received this error message when executing the gof function. This is my code and error attached:

_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

What is the problem in the case if (sd.obs > 0) ? My data frames are of precipitation data.

hzambran commented 11 months ago

Can you provide a reproducible example?