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

read_obs_convert: error converting vobs data #95

Open
carlos9917 opened this issue Dec 12, 2022 · 0 comments
Open

read_obs_convert: error converting vobs data #95

carlos9917 opened this issue Dec 12, 2022 · 0 comments

Comments

@carlos9917
Copy link

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

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

1 participant