On Mon, 6 Dec 1999, Dehls John wrote:
> How can I create an array channel from 256 individual channels?
> Alternatively, how can I import an xyz ascii file into an array channel?
>
> John
Hi John,
Importing ascii XYZ data into an array channel is fairly straightforward.
Check the sample 'imparc.i3' template file in the 'geosoft' directory.
The basic format for importing data is to define the DATA line and the
CHAN line, i.e.:
DATA start,length,read_format
CHAN name,type,channel_format
For array data, the start value is the beginning of the data stream, i.e.
the position of channel 0. The remaining channels must follow in the data
file.
For the CHAN parameter, to create an Array Channel (VA), you can specify
the number of channels after the channel name in curly braces, i.e.
CHAN radarray{256},float,normal
This will allow you to conveniently import all 256 channels into one array
channel.
Speaking of array channels, I'm curious to know if there are many other
people out there using array channels. I've been using them quite a lot
lately, and while I find them very handy, there is still a shortage of
good tools to manipulate data stored in arrays. For instance, I had to
write my own 'VA_subtract.gx' which subtracts one array from another. If
anyone else needs this gx, I'd be happy to share it (as is). Has anyone
else developed any VA-tools they would be willing to share?
Regards,
Ken Versteeg
-----------------------------------------------------------------------------
Ken Versteeg, M.Sc. _/_/_/_/ _/_/_/_/ _/ _/
Paterson, Grant & Watson Limited _/ _/ _/ _/ _/
8th Floor, 85 Richmond St. West _/_/_/_/ _/ _/_/ _/ _/ _/
Toronto, Ontario, CANADA M5V 1V6 _/ _/ _/ _/ _/ _/
Ph: (416) 368-2888, Fax: 368-2887 _/ _/_/_/_/ _/_/ _/_/
[EMAIL PROTECTED] http://www.pgw.on.ca
-----------------------------------------------------------------------------
_______________________________________________________
More mailing list info http://www.geosoft.com/support/listserv/index.html