Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: CoordinateSystem 2D/3D

  • To: Roman Sachar <romsac@xxxxx>
  • Subject: Re: CoordinateSystem 2D/3D
  • From: Bill Hibbard <bh@xxxxxxxxxxxxx>
  • Date: Mon, 30 Jul 2007 15:23:57 -0500 (CDT)
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
==============================================================================


  • 2007 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: