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

Re: CoordinateSystem 2D/3D

Hi Roman,

Easy problem:

. . .
CoordinateSystem logCS = new MyCoordinateSystem(new
RealTupleType(latitude,longitude));
domain_tuple = new RealTupleType(latitude, longitude,logCS,null);
. . .
lonMap = new ScalarMap( longitude, Display.XAxis );
. . .
Now when I run that code i get an error:
Single DisplayRealType DisplayXAxis occurs more than once:
ShadowType.testIndices
. . .

longitude occurs in domain_tuple and in the reference
RealTupleType for logCS. You need to invent another
RealType to take the place of longitude in one of these
places. I also note that latitude occurs in both places,
whereas I think you want loglatitude in one of them
(loglatitude is in a RealTupleType named reference, but
this is not passed to the logCS constructor and needs to
have two RealTypes).

Good luck,
Bill

==============================================================================
To unsubscribe visad, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================


 
 
  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