[Seisunix] su file to image file

743 views
Skip to first unread message

S.Selvam

unread,
Dec 3, 2009, 12:58:53 AM12/3/09
to seis...@mailman.mines.edu
I want to convert .su file to an image file that can be printed.

I would like to get something that is similar to the output of "xwd" command.But that needs manual effort.

1) I tried supsimage < data.su > image.ps ,but it does not preserve originality.

2) Hacked the seismic source code and converted .su file to .xwp, still lacks the originality .


Any ideas would be helpful .


--
Yours,
S.Selvam

Dylan Mikesell

unread,
Dec 3, 2009, 3:18:48 AM12/3/09
to S.Selvam, seis...@mailman.mines.edu
What do you mean by originality? If your psimage looks undersampled you
may need to set the variables d1s and d2s to something less than 1.

typing psimage in the command line will list available options for
psimage...
d1s=0.5 factor by which to scale d1 before imaging
and
d2s=0.5 factor by which to scale d2 before imaging

I hope this helps. I am sure we can answer your question better if you
explain more what the problem is with the supsimage output.
Cheers,

Dylan Mikesell


S.Selvam wrote:
> I want to convert .su file to an image file that can be printed.
>
> I would like to get something that is similar to the output of "xwd"
> command.But that needs manual effort.
>
> 1) I tried supsimage < data.su <http://data.su> > image.ps
> <http://image.ps> ,but it does not preserve originality.
>
> 2) Hacked the seismic source code and converted .su file to .xwp,
> still lacks the originality .
>
>
> Any ideas would be helpful .
>
>
> --
> Yours,
> S.Selvam
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> seisunix mailing list
> seis...@mailman.mines.edu
> https://mailman.mines.edu/mailman/listinfo/seisunix
> Unsubscribe: seisunix-u...@mailman.mines.edu
>
dmikesell.vcf

Gery Herbozo Jimenez

unread,
Dec 3, 2009, 7:57:00 AM12/3/09
to s.selv...@gmail.com, seis...@mailman.mines.edu

I did it once, I put it as pdf and then print it. I have the script at home, perhaps you are interested. If so, I can send it to you tomorrow. Now, in this way you have only one possibility about your color pallette, gray. This is by default from SU (based on I know). I use ps2raster as well (GMT).
 
Now, you can convert your su file to bin (sustrip), then in GMT (Generic Mapping Tools) you have to generate a regular grid based on it. Once the grid is ready, other GMT tools do the job and you'll be able to put in the way you prefer (different color palletes, different axis, etc). Many possibilities from here... This trick is from my advisor, Dr. Juan Diaz Naveas, a heavy-weight in geosciences.
 


Date: Thu, 3 Dec 2009 11:28:53 +0530
From: s.selv...@gmail.com
To: seis...@mailman.mines.edu
Subject: [Seisunix] su file to image file

¡Windows Phone ya está aquí! Mucho más que un teléfono. ¡Hazte con uno!

John Stockwell

unread,
Dec 3, 2009, 10:29:59 AM12/3/09
to S.Selvam, seis...@mailman.mines.edu
What do you mean by "lacks originality"? What is it in the suximage
plot that you want to see in the supsimage plot?
John Stockwell | jo...@dix.Mines.EDU
Center for Wave Phenomena (The Home of Seismic Un*x)
Colorado School of Mines
Golden, CO 80401 | http://www.cwp.mines.edu/cwpcodes
voice: (303) 273-3049

Our book:
Norman Bleistein, Jack K. Cohen, John W. Stockwell Jr., [2001],
Mathematics of multidimensional seismic imaging, migration, and inversion,
(Interdisciplinary Applied Mathematics, V. 13.), Springer-Verlag, New York.

Leonard Lisapaly

unread,
Dec 4, 2009, 12:01:31 AM12/4/09
to Gery Herbozo Jimenez, s.selv...@gmail.com, seis...@mailman.mines.edu

GMT is an excellent alternative way to display your seismic, especially when you want to use special color scale you like.

 

Many times, I just use “xv” to keep the originality, if the originality means the thing I see in suximage.

 

Cheers,

Leo

 


S.Selvam

unread,
Jan 1, 2010, 12:03:40 AM1/1/10
to Dylan Mikesell, seis...@mailman.mines.edu
On Thu, Dec 3, 2009 at 1:48 PM, Dylan Mikesell <dmik...@cgiss.boisestate.edu> wrote:
What do you mean by originality? If your psimage looks undersampled you may need to set the variables d1s and d2s to something less than 1.

typing psimage in the command line will list available options for psimage...
d1s=0.5         factor by which to scale d1 before imaging
and  d2s=0.5         factor by which to scale d2 before imaging  
I hope this helps. I am sure we can answer your question better if you explain more what the problem is with the supsimage output.
Cheers,


I have uploaded two screenshots.


1) It is the original display of the su file using suximage,link to view it is,

  http://imagesharing.com/storage/image.php?path=10010145852835.png

2) The second image is the one generated by the following command as told,

  suwind < ./tmp/out_part.su | supswigp d1s=0.5 d2s=0.5 label1='Time (s)' label2='Trace no' labelsize=16 labelfont=Helvetica perc=99 > ./tmp/data.ps

The link is,
  
    http://imagesharing.com/storage/image.php?path=100101454213176.png

You can see from those images,the second one looks bit poor,
i want the second image generated( ps file ), to look like the first one (generated by suximage ).

Note:
    1) I tried supsimage as well,but yielded similar result.

    2) Played with different  d1s and d2s values with no luck.

    2) Execuse me for the late response.

   

Dylan Mikesell


S.Selvam wrote:
I want to convert .su file to an image file that can be printed.

I would like to get something that is similar to the output of "xwd" command.But that needs manual effort.

1) I tried supsimage < data.su <http://data.su> > image.ps <http://image.ps> ,but it does not preserve originality.


2) Hacked the seismic source code and converted .su file to .xwp, still lacks the originality .


Any ideas would be helpful .


--
Yours,
S.Selvam

------------------------------------------------------------------------


_______________________________________________
seisunix mailing list
seis...@mailman.mines.edu
https://mailman.mines.edu/mailman/listinfo/seisunix
Unsubscribe: seisunix-u...@mailman.mines.edu
 



--
Regards,
S.Selvam

S.Selvam

unread,
Jan 2, 2010, 12:41:03 AM1/2/10
to seis...@mailman.mines.edu
---------- Forwarded message ----------
From: S.Selvam <s.selv...@gmail.com>
Date: Sat, Jan 2, 2010 at 10:25 AM
Subject: Re: [Seisunix] su file to image file
To: Gary Billings <obs...@gmail.com>




On Fri, Jan 1, 2010 at 11:30 PM, Gary Billings <obs...@gmail.com> wrote:
Please excuse me if I'm misunderstanding the question, or have missed this suggestion in the thread.  I would use supswigb rather than supswigp, and nbpi=150 or perhaps even 300.  This gives finer lines that will look more the x display.


Great Gary ,That almost did the trick.

       Thanks a lot !

g.



--
Regards,
S.Selvam



--
Regards,
S.Selvam
Reply all
Reply to author
Forward
0 new messages