Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: Another Alpha Question


Hi Bill,

Thanks for the fix on this. The fixed UnionSet is allowing me to choose a ConstantMap color, but when I add an Alpha parameter, it does not behave as it should.

Using 2 different filled Irregular2DSets, each with its own ConstantMap, I get this:

http://www.cimms.ou.edu/~kmanross/VCPRPE/VisADSamples/kiwaWedges_OK.gif

However, when I make a UnionSet with the two Irregular2DSets and using one of the ConstantMaps, I get this:

http://www.cimms.ou.edu/~kmanross/VCPRPE/VisADSamples/kiwaWedges_usetError.gif

Even a UnionSet with a single Irregular2Dset wedge produces the same produces the latter result.

If you would like, I can send you my test code.

Thanks!

-kevin.


Bill Hibbard wrote:
Hi Kevin,


This suggestion works great, thank you!  I have run into another problem
in that I have a set of these wedges (several Irregular2DSets) and I
group them as a UnionSet.


This looks like a bug in UnionSet.java. The fix should be at:

  ftp://ftp.ssec.wisc.edu/pub/visad-2.0/untested/UnionSet.java

Thanks for finding this.

Bill




--
+------------------------------------------------------------+
Kevin L. Manross        [KD5MYD] <><          (405)-366-0557
CIMMS Research Associate               kevin.manross@xxxxxxxx
[NSSL-WRDD/SWATN]           http://www.cimms.ou.edu/~kmanross

"My opinions are my own and not representative of CIMMS, NSSL,
 NOAA or any affiliates"
+------------------------------------------------------------+


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690