[Thread Prev][Thread Next][Index]

Re: GUI interface and cruise tracks.



Dear Dr. Ansley Manke

Thank you very much for good infomation.

I got the stars on the map where I have cliked. I will make use of this 
script for GUI inputing to the ferret script.

Thank you agian.

Takaya Namba


>From: Ansley Manke <ansley@pmel.noaa.gov>
>To: takayanamba@hotmail.com
>Subject: GUI interface and cruise tracks.
>Date: Thu, 26 Apr 2001 12:07:56 -0700
>
>Hi Takaya,
>My colleague who has worked with the GUI implemenation of Ferret says
>there is not a way to do this now, that it would mean going into the 
source
>code for Ferret, which we do not have the support to do.
>
>However you can make a list of points in a file using the "GO digitize" 
script.
>Type go/help digitize to see the arguments to the script.  You might be 
able to
>use this idea in an interactive session of Ferret to do some of what you 
want.
>
>yes? use coads_climatology
>yes? shade/l=1 sst
>
>!      set up a file to receive the data
>yes? sp rm out.dat
>yes? spawn echo " SST output from coads_climatology at L=1" > out.dat
>
>!      loop over the number of points you want to save.  Each time, click 
on the
>!      map on your screen and the SST, X and Y for that point are saved in 
out.dat
>!      (if you click somewhere where there is no data, the word "bad" is 
written to
>!      the file, so the file would need to be edited before it could be 
read as
>below)
>
>yes? message "click on 50 points to digitize"
>yes? repeat/k=1:50 (go digitize SST[L=1] interpolate brief out.dat)
>
>!       now open the file and read the points you have saved, and do 
something with
>them.
>
>yes? define axis/x=1:50:1 x50
>yes? define grid/x=x50 g50
>yes? file/skip=1/var="sstpt,  xlon,  ylat"/grid=g50  out.dat
>yes? plot/vs/over xlon, ylat
>yes? go polymark polygon/over/key/title="sstsample"/palette=greyscale xlon 
ylat sstpt
>star
>
>
> >   
------------------------------------------------------------------------
> >
> > Subject: Re: contour or shade vertical section with bottom line along 
the
> >      oceancruise
> > Date: Wed, 25 Apr 2001 06:33:38 +0000
> > From: Namba Takaya <takayanamba@hotmail.com>
> > To: ferret_users@ferret.wrc.noaa.gov
> > CC: ansley@pmel.noaa.gov
> >
> > Dear Dr. Ansley Manke
> >
> > I am sorry to be redundant and trouble you with a lot again.
> >
> > I got the manual of the Fettet DUI User' Guide v4.4.
> > However it did not give me much suggestion on the matter bellow.
> >
> > For example, what I want is
> > 1 start the script which you sent me.
> > 2 next GUI come up to select the cruseline on the way of the script
> > running.
> > 3 clik and drag(or double clik) mouse to select the cruseline.
> > 4 then return back to the script automatically.
> > 5 finally script complete.
> >
> > something like the conbination between script and GUI interactively.
> >
> > Takaya Namba
> >
> > Thank you again for this suggestion.
> >
> > General questions
> > I would like to know how to make GUI interface to Ferret.
> > Of course I know you have the Ferret GUI by "ferret -gui".
> > Could I do using JAVA or CGI perl etc? Or do you have any other ways to
> > interface to Ferret?
> > Just suggestion is enough this time. I will check and study by myself, 
if
> > you can suggest to me on this matter.
> >
> > For example,
> > how I can do GUI input of your script(describing the ocean cruise line)
> > using mouse.
> >
> > yes? LET xlon = 234.5 + I[I=1:50]       ! define the slant line
> > yes? LET dely = 24./49
> > yes? LET ylat = 24.5 - dely*i[i=1:50] + dely
> >
> > If mouse operation can be used to select the cruise line, I can
> > develop(modify) this vertical profile script for our reserchers and
> > students even who are not good at computer operations.
> >
> > Thank you in advance.
> >
> > Takaya Namba
> >
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement