Re: Use of pssegy

Andreas B <[email protected]> Thu, 24 Apr 2014 22:01:58 +0200
Newsgroups gmane.comp.gis.gmt.user
Message-ID <CAL2+-iXAgnZ1-+2iEMjtweiPHKiBHy8df3k9hBnYujHtihhyEA@mail.gmail.com>
Dear all,

I've installed gmt-4.5.12-win64.exe and tested with "pssegy a.segy -P
-JX25c/-20c -Fred -D1 -N -Z -R0/1400/0/10 > segy.ps" which works fine.
Doing the exact same command with gmt-5.1.1-win64.exe causes a crash.
Indeed, any attempt to make a plot with pssegy in GMT5 causes a crash.
First I thought it might have something to do with my SEGY input file, but
you dont even have to specify this input file to make it crash, e.g.
"pssegy -P -JX25c/-20c -Fred -D1 -N -Z -R0/1400/0/10 > segy.ps".

I'll open an issue if that is preferable.

Thanks for all your help!

Best regards,
Andreas




2014-04-24 13:20 GMT+02:00 J Luis <[email protected]>:

> But can you also open an issue and attach an example file so that we can
> reproduce the crash?
>
>
> On Thu, Apr 24, 2014 at 5:28 AM, Paul Wessel <[email protected]> wrote:
>
>> Pls try 4.5.123 on this; segyprogs in 5.1.1 has only been ported but not
>> tested.
>> -p
>>
>> On Apr 23, 2014, at 6:22 PM, Gery . <[email protected]> wrote:
>>
>> Perhaps that's the issue!
>>
>> Sent from my iRon
>>
>> On Apr 24, 2014, at 1:05, "Andreas B" <[email protected]> wrote:
>>
>> Gery and Tim,
>>
>> Thank you so much for your help. I'm still having problem with pssegy
>> crashing immediately after starting the script. I've tried tried many
>> different -R's, but it doesnt seem to help. I'm using 5.1.1 (r12968)
>> [64-bit] on Windows 7. Maybe thats an issue..?
>>
>> Best regards,
>> Andreas
>>
>>
>> 2014-04-23 21:54 GMT+02:00 Gery . <[email protected]>:
>>
>>> Hi Andreas,
>>>
>>> Glad to hear it helped you =) the R should be the eg. number of CDPs (x
>>> axis) and time (y axis), that's in fact like an ordinary extent.
>>>
>>> Uhmmmm that shouldn't happen, perhaps the R is not the right one, and I
>>> think your J should be something like -Jx30/-10 which should represent a
>>> horizontal exaggeration of 30 times and a vertical exaggeration (reverse
>>> sense because of the minus) of 10 times. Did you get any error messages?
>>>
>>> Cheers
>>>
>>> Sent from my iRon
>>>
>>> On Apr 23, 2014, at 21:21, "Andreas B" <[email protected]> wrote:
>>>
>>> Hi Gery,
>>>
>>> Thank you so much, it helps! I'm a bit confused though; does the values
>>> in -R refer to the Xmin, Xmax, Ymin and Ymax of the spatial extent of the
>>> line (like an ordinary -R would)? However, I ran into another problem;
>>> psegy crashes when doing a "pssegy a.SEGY -R17052/27803/731058/732041
>>> -Jx1:1000000 -D0.3 -W -So -Fgray > segy.ps". Tried to change all
>>> parameters, crashes everytime.
>>>
>>> Andreas
>>>
>>>
>>> 2014-04-23 20:55 GMT+02:00 Gery . <[email protected]>:
>>>
>>>> Hello Andreas,
>>>>
>>>> Would this help? http://www.geo.utep.edu/gmt/seismic.html
>>>>
>>>> Cheers,
>>>>
>>>> Sent from my iRon
>>>>
>>>> On Apr 23, 2014, at 20:43, "Andreas B" <[email protected]> wrote:
>>>>
>>>> Hey all,
>>>>
>>>> Does anyone have a working code snippet of how to use pssegy(/psegyz)?
>>>>
>>>> I'm trying a very basic pssegy a.SEGY -W -R17052/27804/732041/731059
>>>> -D1  > test.ps, but GMT complains that the -R is not correctly given
>>>> (I've also tried with z-range in all flavours). Also, why is -J a required
>>>> parameter? Why would you use a map projection when you want to plot a SEGY?
>>>>
>>>> Andreas
>>>> To unsubscribe, send the message "signoff gmt-help" to
>>>> [email protected]
>>>>
>>>
>>> To unsubscribe, send the message "signoff gmt-help" to
>>> [email protected]
>>>
>>
>> To unsubscribe, send the message "signoff gmt-help" to
>> [email protected]
>> To unsubscribe, send the message "signoff gmt-help" to
>> [email protected]
>>
>>
>> To unsubscribe, send the message "signoff gmt-help" to
>> [email protected]
>>
>
> To unsubscribe, send the message "signoff gmt-help" to
> [email protected]
>

To unsubscribe, send the message "signoff gmt-help" to [email protected]