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

Home » Public Forums » archive » Wind Vectors on maps
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
Wind Vectors on maps [message #14615] Thu, 11 March 1999 00:00
hcp is currently offline  hcp
Messages: 41
Registered: August 1995
Member
Hi guys:

I sent this to David a day or two ago, but my newsreader was refusing
to post at the time. I have now sussed out why.

In article <MPG.114e2ad4bf9741dc989710@news.frii.com>, davidf@dfanning.com
(David Fanning) writes:
|> Does anyone have a good program to add wind vectors to maps?
|> I get asked about this a couple of times a week, it seems.
|> I hacked up VELOVECT (or was it VEL?) some time ago to sort of
|> do the job, but I wondered if someone had something more elegant
|> they would be willing to share. I would post it on my web
|> page for all to use.


I needed to do this in the past and did it by altering velovect so that it
understood noerase. The only reason velovect doesn't work is that the
_EXTRA mechanism is used to hand the same keywords on to plot, plots and
oplot. Some keywords which you would want for plot cause plots and oplot
to barf. I changed the procedure name to velo to avoid clashes with the
official velovect.

I can post my modified copy or send it to David, but I suspect his
version is much the same.

It is also worth noting that if you have IDL V5.2 (and possibly earlier
versions but I don't think so) then the version of velovect supplied has
been fixed so that it works over a map and all this is unnecessary. You
can just do (e.g.)

IDL> map_set,/conti,/merc
IDL> velovect,zonw,merw,windlongs,windlats,/overplot

(where zonw -> 2D Array of zonal winds
merw -> 2D Array of mreidional winds )

|> People will thank you by showering you with cold, hard cash.

Lovely. I'd like used Scottish notes, please.

All the best

Hugh


--

============================================================ ==============
Hugh C. Pumphrey | Telephone 0131-650-6026
Department of Meteorology | FAX 0131-662-4269
The University of Edinburgh | Replace 0131 with +44-131 if outside U.K.
EDINBURGH EH9 3JZ, Scotland | Email hcp@met.ed.ac.uk
OBDisclaimer: The views expressed herein are mine, not those of UofE.
============================================================ ==============
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How write multi-D tiled data to file?
Next Topic: ASCII data with 5000 columns

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

Current Time: Thu Oct 09 20:39:41 PDT 2025

Total time taken to generate the page: 2.17991 seconds