Page 1 of 1
Problem in Loading of ascii files
Posted: Tue Jan 20, 2009 3:12 pm
by raj
Whenever I try to load the .ascii file, a message appears to fill up the header information correctly. After modification, the graphic file is loadd.
But it does not load automatically. At each step, header information is to be entered manually.
Please help.
Posted: Thu Jan 29, 2009 4:39 pm
by admin
Yes this normal behavior. With ascii files there is no standard way to store header information. You have to enter it manually.
Once all information are properly setup, you can save your work in a geopsy database (file *.gpy). This file contains all header information and a link to your original ascii files. You can quickly recover your files with their attached header by opening this .gpy file again and again.
Now, to enter the header information, you can automate this task. Import all you files and put them in a table. Then, you can go to menu 'Edit/Set headers'. There you can enter any arbitrary formula to setup header. For instance:
Code: Select all
DeltaT=0.005; // Set sampling frequency to 200 Hz
iComp=(ViewerIndex-1) DIV 3; // Assumes that signals are ordered Z,N,E
Component=if(iComp==0, "Vertical",
if(iComp==1, "North".
"East")); // Set component according to iComp(0,1 or 2).
Posted: Thu Jan 29, 2009 4:50 pm
by admin
In the future, it will be possible to define your own mask for extracting header information from the first lines of the ascii file, for instance, out of comment lines like:
Code: Select all
#SAMPLING=200 Hz
# STARTING TIME=2009-01-23 00:45:12.678
...
Keywords will be completely arbitrary. This feature is under development. Masks will constructed interactively by the user or can be loaded from mask files previously saved.