<html style="direction: ltr;">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
  </head>
  <body bidimailui-charset-is-forced="true" style="direction: ltr;"
    text="#000000" bgcolor="#FFFFFF">
    Don't you need the "skip=1" parameter to skip the first header line
    of column names?<br>
    <br>
    <div class="moz-cite-prefix">On 06/11/2018 08:55 PM, Rich Shepard
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:alpine.LNX.2.20.1806111046390.29133@salmo.appl-ecosys.com"> 
      I've a large text file of weather data. A sample row of data is:
      <br>
station|name|lat|lon|elev|date|dapr|evap|mdpr|prcp|sn01|sn03|snow|snwd|sx01|sx03|wesd|wesf
      <br>
      USC00353770|Headworks Portland
      Water|45.4486|-122.1547|228.0|2005-01-01||||0.59|||0.0|0.0||||
      <br>
      <br>
      The fourth column is longitude with values such as -122.1547. When
      I enter
      <br>
      this command:
      <br>
      <br>
      in.ascii --overwrite \
      <br>
in=/home/rshepard/projects/oregon/<project_name/data/precipitation/\
      <br>
      clackamas_co_weather_2005_2018.txt out=precip separator=pipe \
      <br>
      columns="station varchar, name varchar, y double precision, x
      double \
      <br>
      precision,  elev double precision, date varchar, dapr double
      precision, \
      <br>
      evap double precision, sn01 double precision, sn03 double
      precision, \
      <br>
      snow double precision, snwd double precision, sx01 double
      precision, sx03 \
      <br>
      double precision, west double precision, wesf double precision"
      x=4 y=3 z=5
      <br>
      <br>
      grass 7.5svn responds with this error:
      <br>
      <br>
      Number of columns: 18
      <br>
      Number of rows: 113570
      <br>
      ERROR: 'x' column is not of number type
      <br>
      <br>
        How do I specify west longitude without an initial '-' or an
      appended 'W'?
      <br>
      <br>
      Rich
      <br>
      _______________________________________________
      <br>
      grass-user mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
      <br>
      <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918</pre>
  </body>
</html>