New Sites Format...

Kim Covil kimc at ned.dem.csiro.au
Fri Aug 8 08:00:00 EDT 1997



Hi,

I have been working on a set of utilities to enable users to
specify fields from site lists written in the new sites format.

One of the problems I have encountered with the new sites format
is the flagging of null values in the sites file. A solitary % as
a placeholder for a null numeric value causes the G_site_get()
function to return a -4 and skip the rest of the site.

Even if this was changed so that a solitary % (or @ for that matter)
could be parsed as a null value the Site structure itself does not
allow for attributes to be flagged as nulls. String attributes are 
not a problem (they can be left as NULL pointers) but I think we
need a null_att[] to mirror the dbl_att[] and flag null numeric 
attributes...

Has anyone else encountered this and have any comments...?

Also has anyone else been working on a method of specifying fields
in command line parameters for use in programs that read sites files?

Cheers

Kim Covil
--
--
====================================================================== 
Kim Covil - Australian Geodynamics CRC   E-mail: kimc at ned.dem.csiro.au 
            CSIRO Exploration & Mining   Tel: +61 8 9284 8446   ,-_!\
            PO Box 437, Nedlands,        Fax: +61 8 9389 1906  /     \
            Western Australia  6009                            *_,-._/   
=================================================================== v 
   Please direct all personal e-mail to kimbotha at cygnus.uwa.edu.au





More information about the grass-dev mailing list