Hello.
I am facing a very strange error in read_obs_convert. I tried reducing the vobs file I am having problem with to the minimum, but I still get the same error:
I've no idea what is wrong, the two lines have the correct number of columns but I keep getting this error.
If I delete the field TM it works, but I have used that parameter before, not sure why is a problem now...sometimes I see the message "trying to read Tmin.1"
I have attached an example script and example data, renamed both as .txt since github does not seem to accept .R or files with no suffix.
Thanks for any help
Carlos
Hello. I am facing a very strange error in read_obs_convert. I tried reducing the vobs file I am having problem with to the minimum, but I still get the same error:
Loading required package: ggplot2 Loading required package: shiny Loading required package: harpSpatial here() starts at /dmidata/users/cap/R/harp-verif Reading: ./TEST/vobs2022110400 Writing to: SYNOP in /data/projects/nckf/dan vobs2022110400.txt ra/verification/OBSTABLE/OBSTABLE_2022.sqlite <Rcpp::exception: near ".1": syntax error> [1] "FAILURE dbSendQuery 1 / 20" [1] "near \".1\": syntax error" test_error_vobs.R.txt
I've no idea what is wrong, the two lines have the correct number of columns but I keep getting this error. If I delete the field TM it works, but I have used that parameter before, not sure why is a problem now...sometimes I see the message "trying to read Tmin.1" I have attached an example script and example data, renamed both as .txt since github does not seem to accept .R or files with no suffix. Thanks for any help Carlos