[GRASS-dev] null value in vector (v.in.ascii, v.surf.*)

Yann Chemin yann.chemin at gmail.com
Thu May 16 00:06:57 PDT 2013


Does this mean that v.in.ascii recognizes 99999.99 as a grass vector null value?

If I use 99999.99 in v.surf.* will it be discarded from the interpolation?




On 16 May 2013 11:44, Hamish <hamish_b at yahoo.com> wrote:
> Yann wrote:
>> I am importing a large amount of ascii files as 3D vectors,
>> some of them have null values (currently set to an arbitrary
>> high constant value)
>>
>> Is there a filter for v.in.ascii to set null values,
>>  and/or in v.surf.* to avoid using those points with
>> specific values?
>
> I typically do it with a pipe through 'grep -v',
>
> NULL=99999.99
> grep -vw "$NULL" infile.csv | v.in.ascii ...
>
> and try to make the regex in the grep search as explicit as
> possible to avoid false positives.
>
>
> Hamish



-- 
Yann Chemin
Researcher at IWMI
Skype/FB: yann.chemin


More information about the grass-dev mailing list