NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Lak: If you had tried to create a new RealType using the constructor, you would have received an Exception like: visad.TypeException: ScalarType: name cannot contain space . ( or ) The getRealTYpe method of creating a RealType swallows the Exception so you never see it...and it returns a 'null'. tom On Fri, 23 Aug 2002, V. Lakshmanan wrote: > Hi, > > I'm back bugging y'all again. Are there restrictions > on what the names of RealTypes can be? > > If temp is "Reflectivity" in this snippet, things work fine, > but if temp is "Reflectivity00.50", then I get a > visad.FieldException > FlatField: FunctionType must be Flat at > visad.FlatField.<init>(FlatField.java:296) > > code snippet: > gatevalue = RealType.getRealType( temp ); > FunctionType func2 = new FunctionType( domainTuple, gatevalue > ); > Set xyzSet = new Gridded3DSet( domainTuple, xyz, > num_radials, num_gates ); > FlatField gate_ff = new FlatField( func2, xyzSet ); > > thanks > Lak > > -- Tom Whittaker University of Wisconsin-Madison Space Science and Engineering Center Cooperative Institute for Meteorological Satellite Studies Telephone/VoiceMail: 608.262.2759
visad
archives: