comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Particle_Trace question ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Particle_Trace question ? [message #59410] Tue, 18 March 2008 15:56
millward.george is currently offline  millward.george
Messages: 2
Registered: March 2008
Junior Member
Hi there,

I am trying to use particle_trace to create streamlines from a vector
field - but I'm having quite alot of trouble
understanding the documentation.

I have a velocity field which is a longitude,latitude array of
Southward and Eastward velocities.
My arrays are 20 longitudes by 91 latitudes. So my 2 arrays are:

V_south(20,91) and V_east(20,91)

I now want to feed these into Particle_trace.

The syntax for Particle_trace requires a single array (which they call
Data) of
size Data[2,dx,dy]

I'm assuming that dx and dy are the indexes for longitude and latitude
and the first dimension (2)
is for the 2 components of the field, so:

data(0,lon,lat) = V_east(lon,lat)
data(1,lon,lat) = 0.0 - V_south(lon,lat)

Nowhere in the documentation does it define the directions - is dx
Eastwards - is dy Northwards? Very confusing !!

And the seed points - are these longitude, latitude points or
something ? Again, no real explanation in the documentation.

....or have I got it completely wrong ?

Any help with this very much appreciated

Cheers,

George.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: GOES Follow-up Question
Next Topic: how to add chinese font in the 'xyouts' procedure

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 04:55:51 PDT 2025

Total time taken to generate the page: 0.15939 seconds