Unless
someone has a way to do this already using existing Oasis facilities, I
would write a program (since I'm a programmer). This is a natural
application for a perl or python script. For one experienced in one of
these languages, this is a half-day type of project. Rather than
transforming the header into another header, one might just as well go ahead and
import the data directly into a new Oasis database. That being said,
sorry, I don't have any code to offer. This is a good one to add to the
Oasis request list.
Regards,
David
L. Humphrey
Manager, Software Development
Bell
Geospace, Inc
-----Original Message-----
From: Ballantyne, Todd [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 27, 2001 10:06 AM
To: Geonet [Geosoft] (E-mail)
Subject: [geonet]: Large ascii data sets with no header or channel namesDoes anyone have a GX or suggestion for converting a "typical" "Geoterrex" listing of column names (in a readme.txt) into a Geosoft "i3" import template. For airborne data sets it can be a very tedious process to create an i3. My current need is to import a data set with 140 data columns containing no header of column names.EXAMPLE OF README.TXTPARAMETER CHARACTERS CONTENTS1 1-10 X (METRES)
2 11-20 Y (METRES)
3 21-30 FIDUCIAL (SECONDS)
4 31-40 FLIGHT NUMBER
5 41-50 RADAR ALTIMETER (FEET)
6 51-60 BAROMETRIC ALTIMETER (FEET)(( deleted remaining channels))EXAMPLE OF i3 FILE./ Wizard Generated Template for .\[IMPORT ARCHIVE]
FILEHEADER 0
RECORDFORM DELIM," \t","","","\""
SKIPSTRING "/"
LINENUMBER 4,6,NORMAL
DATA 0,9,NORMAL,,,,
CHAN X,DOUBLE,NORMAL,9,1,LABEL="X"
DATA 1,10,NORMAL,,,,
CHAN Y,DOUBLE,NORMAL,10,1,LABEL="Y"
DATA 2,10,NORMAL,,,,
CHAN FID,DOUBLE,NORMAL,10,1,LABEL="FIDUCIAL"
DATA 3,10,NORMAL,,,,
CHAN FLT,DOUBLE,NORMAL,10,1,LABEL="FLT_NUM"
DATA 4,10,NORMAL,,,,
CHAN RAD,DOUBLE,NORMAL,10,1,LABEL="RAD_ALT"
DATA 5,10,NORMAL,,,,
CHAN BARO,DOUBLE,NORMAL,10,1,LABEL="BARO_ALT"cheers, todd.Todd A. Ballantyne, P.Geo.
Geophysicist
Ashton Mining of Canada Inc.
=><=><=><=><=><=><=
email - [EMAIL PROTECTED]
tel - (604) 983.7750 ext. 255
fax - (604) 987.7107
