Closed Davidzhen2020 closed 2 years ago
The Error in FUN(X[[i]], ...) error was caused by the single_point_firehose itself. The bad code in the single_point_firehose function is
all(first_pass[,which(names(first_pass) == "time")]) all(first_pass[,which(names(first_pass) == "lon")]) all(first_pass[,which(names(first_pass) == "lat")])
When I use the single_point_firehose(input_variables, known_lat, known_lon ) download the climate variable Temperature and Rainfall from all of the models and all of the years, the function ends in an error and outputs an error message:
Connection succeeded. Error in FUN(X[[i]], ...) : only defined on a data frame with all numeric variables