Code covered by the BSD License  

Highlights from
Google Earth Toolbox

image thumbnail

Google Earth Toolbox

by

 

10 Nov 2006 (Updated )

Various plotting/drawing functions that can be saved as KML output, and loaded in Google Earth

Google Earth toolbox - ge_barbdaes

ge_barbdaes

Generates windbarb collada models (*.dae) for displaying wind speed and direction on both hemispheres. With the generated set, wind speeds of up to 190 km/h can be represented. The function also allows for explicit specification of the color and transparency of the windbarbs.

Syntaxgo to top

ge_barbdaes

ge_barbdaes(Parameter,Value)

Descriptiongo to top

ge_barbdaes

Generates a set of 40 different XML based ASCII files containing collada models of windbarbs. These are typically used in meteorology for visualizing the wind speed and direction. The complete set can be seen here (northern hemisphere) and here (southern hemisphere). Each half pennant represents 5 knots (1 knot = 0.51 m/s); each whole pennant represents 10 knots; each flag represents 50 knots. The default windbarb set consists of 50% transparent white barbs, but both color and transparency can be specified by the user (see below).

ge_barbdaes(Parameter,Value)

Same as above, but allows for specification of additional options.

Assigning values to the parameters can be accomplished by inclusion of an alternating sequence of parameters and their value. The table below provides an overview of the authorized options. The order in which the parameters are included does not matter. Please be aware that the options are case-sensitive.

ParameterDescription
'barbAlpha'2-digit hexadecimal specification of the transparency of the windbarb ('00' is fully transparent; 'FF' fully opaque). Default value is '80'.
'barbColor'6-digit hexadecimal specification of the color to be used for the body of the windbarb. Default value is 'FFFFFF'.
'daeDir'Character array with the target directory where the *.dae files should be saved. Default value is '/daes'.
'msgToScreen'Defines whether verbose feedback is provided by the function when it is accessed and when it finishes. Default is false (which is equivalent to logical(0), but quicker).

Remarksgo to top

Pennants are on different sides of the barb depending on the hemisphere.

See alsogo to top

Contact us