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.
Hi Steve, > It appears that it's possible to create a FieldImpl whose domain type > has a null CoordinateSystem and yet whose domain set has a non-null > CoordinateSystem. > > Is this a bug or a feature? Have you tried it, to make sure its possible? It looks like the FieldImpl constructor will call Set.cloneButType() to force the domain type of the FieldImpl to match the domain type of the FieldImpl's domin Set. cloneButType will invke a Set constructor that checks the convertability of the type's CoordinateSystem with the Set's CoordinateSystem. On the other hand, this logic is a bit complex and may have a bug. Please test it. If it is indeed possible to construct a FieldImpl whose domain type has a null CoordinateSystem and yet whose domain set has a non-null CoordinateSystem, please fix it (probably will suffice to test for the condition in the FieldImpl constructor and throw an Exception if its bad. Thank you, Bill ---------------------------------------------------------- Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI 53706 hibbard@xxxxxxxxxxxxxxxxx 608-263-4427 fax: 608-263-6738 http://www.ssec.wisc.edu/~billh/vis.html
visad
archives: