[GRASS-user] Fresh eyes needed

Rich Shepard rshepard at appl-ecosys.com
Fri Aug 10 14:00:31 PDT 2018


   I'm about to give up for today, but perhaps fresh eyes will see what I'm
not seeing.

Input data fragment:

name,lon,lat,elev,sampdate,prcp
Headworks Portland Water,2370575.38427211,199337.634652112,228,2005-01-01,0.59

   Six fields comma separated.

Command:

v.in.ascii in=$HOME/projects/data/precipitation/rainfall.csv skip=1
out=precip sep=comma columns='name varchar, lon double precision, lat double
precision, elev double precision, sampdate varchar, prcp double precision' x=2
y=3 z=4 --o

   Six columns defined.

What grass reports:

Scanning input for column types...
Number of columns: 7
Number of rows: 113570
ERROR: 'x' column is not of number type

   I just do not see where grass finds that seventh column that shifts 'x'
out of position. No name has a comma within it.

Puzzled,

Rich


More information about the grass-user mailing list