draw lines through tracking dot

Stephen R McMillan smcmillan at PLANALYTICS.COM
Mon Jan 7 10:57:00 EST 2008


Hi Daniel,

According to your script, the point x2 y2 is not defined. Perhaps you had
intended instead:

' draw line 'x0' 'y0' 'x1' 'y1

...which should draw a line segment connecting your two tracking dots.

Good luck--
Stephen McMillan




 Daniel Fritz
 <prodicalboxer at YAHOO.COM>
 Sent by:                                                               To
 GRADSUSR at LIST.CINECA.IT                              GRADSUSR at LIST.CINECA
                                                      .IT
 01/05/2008 01:58 AM                                                    cc

       Please respond to                                           Subject
    GRADSUSR at LIST.CINECA.IT                           draw  lines through
                                                      tracking dot










Hello everyone,
can anyone help me with this script? This script
gives a nice picture of the hurricane track of
FLOYD1999....It displays the tracking dots
nicely...but how do you show the LINES going through
the tracking dot?????  This is what I am having
problem with...here is the script

filnam='/home2/fritz/script/Floyd.dat'

'draw map'

while (1)
res = read(filnam)
rc = sublin(res,1)

if (rc > 0)
* Check if there is problem reading
if (rc = 2)
say 'EOF - Finished reading 'filnam
res = close(filnam)
break
else
say rc ' Error while reading 'filnam
res = close(filnam)
break
endif
endif

* No problems
* Step 1 - read in the position

datum = sublin(res,2)
datetime = subwrd(datum,3)
longitude = subwrd(datum,1)
latitude = subwrd(datum,2)
say longitude' 'latitude
say datetime

* Step 2 - convert lat/lon to page position
'd ugrd10m.1;vgrd10m.1;mag(ugrd10m.1,vgrd10m.1)'
'q w2xy 'longitude' 'latitude
x0 = subwrd(result,3)
y0 = subwrd(result,6)
say x0' 'y0


* Step 3 - plot the position on the page
' draw mark 2 'x0' 'y0' 0.1'
' draw mark 2 'x1' 'y1' 0.1'
' draw line 'x1' 'y1' 'x2' 'y2
endwhile

DOES ANYONE HAVE ANY SUGGESTION? :):):):):):)


> Dear Kumar
>
> I too wish you a very happy and prosperous new year
> 2008.
>
> best regards
> Gnanaseelan
>
> On 12/30/07, Lakshmee Kumar T <laksau at yahoo.com>
> wrote:
> >
> > Dear Sir,
> >
> > Wish you a happy and prosperous new year 2008
> >
> > with regards,
> >
> > Lakshmi Kumar, TV.
> > Research Scholar
> > Dept of Meteorology & Oceanography
> > Andhra University
> > Visakhapatnam - 530003
> > AP, INDIA.
> >
> >
> >
> >
> > *Robert Burgman <rburgman at RSMAS.MIAMI.EDU>* wrote:
> >
> > Are you looking for the spatial correlation? If
> the two .nc files use the
> > same grid then simply use the scorr() function.
> > If not you need to put them on a common grid .
> > The user defined function regrid2() is helpful for
> this.
> > This function was written by Mike Fiorino and can
> be found on the web.
> > Using the regrid2 function you define new
> variables.
> > set lat -90 90
> > set lon 0 359
> > define newvar1=regrid2(origvar1,2.5,2.5) for a 2.5
> x 2.5 grid
> > define newvar2=regrid2(origvar2,2.5,2.5)    same
> grid!
> > now you can find the spatial correlation of the
> two newly define variable
> > since they are on a common grid.
> > d
> scorr(newvar1,newvar2,lon=-0,lon=359,lat=-90,lat=90)
> >
> >  On Mar 19, 2007, at 5:51 AM, Lakshmee Kumar T
> wrote:
> >
> >  Dear Sir,
> >
> >     I have two nc files. I need to do correlation
> for the two nc files for
> > a set of time interval. Please help me in this
> regard,
> >
> > Thank You
> >
> >
> > ***************************
> >
> > TV.Lakshmi Kumar
> > Research Scholar
> > Dept of Meteorology & Oceanography
> > Andhra University
> > Visakhapatnam - 530003
> > India.
> > ------------------------------
> > Finding fabulous fares is fun.
> > Let Yahoo! FareChase search your favorite travel
>
sites<
http://farechase.yahoo.com/promo-generic-14795097;_ylc=X3oDMTFtNW45amVpBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzEEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw--
>to
> find flight and hotel bargains.
> >
> >
> >
> ----------------------------------------------------
> > Dr. Robert Burgman
> > Division of Meteorology and Physical Oceanography
> > Rosenstiel School of Marine and Atmospheric
> Science
> > University of Miami MPO, MSC 237
> > 4600 Rickenbacker Causeway
> > Miami, FL 33149
> >
> > Tel:        (305) 421-4272
> > Fax:       (305) 421-4696
> > Email:    rburgman at rsmas.miami.edu
> >
> ---------------------------------------------------
> >
> >
> >
> >
> >
> >
> > ***************************
> >
> > TV.Lakshmi Kumar
> > Research Scholar
> > Dept of Meteorology & Oceanography
> > Andhra University
> > Visakhapatnam - 530003
> > India.
> >
> > ------------------------------
> > Looking for last minute shopping deals? Find them
> fast with Yahoo!
>
Search.<
http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>
> >
>



____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page.
http://www.yahoo.com/r/hs





***************************************************
The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary.  If you are not the intended recipient, you may not review, copy or distribute this message.  If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message.
***************************************************



More information about the gradsusr mailing list