SEG-2 Converter

This forum is dedicated to discuss all problems and suggestions related to the use of geopsy database and its plugins (array processing, H/V,...).
Post Reply
farshad
Posts: 7
Joined: Tue Aug 14, 2007 3:45 am
Location: ZAPCE, Tehran, Iran
Contact:

SEG-2 Converter

Post by farshad »

Regarding my question, about converting GCF file to SEG-2 format, I want to make some questions.
1- Where should I put my GCF files for convert, and how to give the path in MSYS window?
2- I tried “geopsy -file toto.gcf -export toto.seg2â€
admin
Site Admin
Posts: 841
Joined: Mon Aug 13, 2007 11:48 am
Location: ISTerre
Contact:

Post by admin »

First of all, I suggest to use MSYS terminal rather than the basic MS-DOS console because all outputs of graphical tools are never displayed in a MS-DOS terminal. This is partially true, it is possible to allow such outputs for Windows but the program will always be accompanied by a nice black terminal even if the program is started from the 'Start' menu. Fans of graphical tools might be disappointed and it may look a bit messy on the desktop. To recover the outputs, you can use MSYS. MSYS offers a Linux-like terminal which may be somehow uncomfortable for Windows users. I try to bring some explanations about paths specification in MSYS.
1- Where should I put my GCF files for convert, and how to give the path in MSYS window?
You can leave you original file where they are. Any location is suitable for loading them in Geopsy. Paths can contain spaces, but you have to protect them by a '\' as shown in examples below. MSYS can access all Microsoft Windows path with some basic translations:

C:\My Documents\signal file.gcf --- transforms into ---> /c/My\ Documents\signal\ file.gcf

Geopsy under Windows is like any other Window executable, it understands Windows-like paths but also more Linux-like ones. Here are the different variants that are accepted for the same location:
  1. C:\My Documents\signal file.gcf
  2. C:/My Documents/signal file.gcf
  3. /c/My Documents/signal file.gcf
Avoid the first one in MSYS because '\' are considered by the shell interpreter (sh) as the beginning of escape sequences, hence the first path is received by geopsy in this form: "C:My Documentssignal file.gcf" which is quite different.
2- I tried “geopsy -file toto.gcf -export toto.seg2â€
farshad
Posts: 7
Joined: Tue Aug 14, 2007 3:45 am
Location: ZAPCE, Tehran, Iran
Contact:

Post by farshad »

Dear Marc
I put my signal file in d: and I tried different path format, including:
$ geopsy -file d:/1.gcf -export d:/1.seg2
$ geopsy -file /d/1.gcf -export /d/1.seg2
But it doesn’t produce any file! It doesn’t give me any message too?
I don’t know what is wrong?
farshad
Posts: 7
Joined: Tue Aug 14, 2007 3:45 am
Location: ZAPCE, Tehran, Iran
Contact:

Post by farshad »

I did the above mentioned procedure in geopsy version dated on 18/10/2007.
When I changed the program to newer version dated on 6/12/2007, for the
$ geopsy -file d:/1.gcf -export d:/1.seg2 it gives me bug error and for the
$ geopsy -file /d/1.gcf -export /d/1.seg2 it open the geopsy program and give me an “unknown file formatâ€
farshad
Posts: 7
Joined: Tue Aug 14, 2007 3:45 am
Location: ZAPCE, Tehran, Iran
Contact:

Post by farshad »

Dear Marc
Thanks for your efforts.
I am waiting for new version, without these problems for converting to "seg" files.
Regards
Post Reply