Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: replacement has length zero #4

Open
ajileshparolla opened this issue May 24, 2021 · 1 comment
Open

Error: replacement has length zero #4

ajileshparolla opened this issue May 24, 2021 · 1 comment

Comments

@ajileshparolla
Copy link

Hi, while running the RFmerge function I am getting this error quoted below.
"Error in obs.values[i] <- train.ts[day, grep(metadata[, id], names(train.ts))] : replacement has length zero".
Any help would be much appreciated. Also, I would like to have the output as NetCDF, so bring an option to specify output file format. Thanks in advance.

@fmanquehual
Copy link

Late, but it may be useful for someone else. In the metadata (ID,lon,lat) I had stations that were not present in the observed data file (x).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants