[gradsusr] KML vectors or barbs
Matt Alonso
matt.alonso at gmail.com
Fri Sep 14 20:35:29 EDT 2012
Not sure about doing it w/in grads itself but have you considered doing it
in a separate kml file? It is really kludgy but there are only 2 ways I
know of to approach this.
1) Brute force it by creating images of all the possible combinations of
arrows/vectors and then referencing the appropriate one in your script to
build the kml.
2) This is a derivation of #1 and requires that you can make use of a
server-side language like php. Basically you set the icon to be a
specially formatted url which will render the appropriate icon (e.g.
http://example.com/windbarb.php?spd=10&dir=320). This is how wunderground
displays the wx station barbs on their wundermap.
Cheers,
Matt
On Tue, Sep 4, 2012 at 12:40 PM, Travis Wilson <sk8ter0028 at hotmail.com>wrote:
> Hello,
>
> The kml feature in grads is quite useful for polygons and
> contours. I was wondering if it is possible (or will be) to plot wind
> barbs or vectors using the kml line/poly function? A tif image overlay of
> winds vectors is not what I want. Here is an example of a google earth
> animated kml I have created using grads, adding wind vectors/barbs would be
> extremely useful (
> http://www.atmos.ucla.edu/~wilson28/pages/googletemps_wide.html).
>
> Thank you,
>
> Travis
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120914/0a061c56/attachment-0003.html
More information about the gradsusr
mailing list