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.
This rings a bell. In my notes (maybe from the 4.1 days) I found:
bug: trying to wrap StructureDS in VariableDS add test to line 85 in DatasetConstructor: else if (!(v instanceof VariableDS) && !(v instanceof StructureDS))
I think I would have mentioned this to the developers. I'm not sure if they corrected the problem, but it might be a place to start.
Doug On 12/21/11 9:41 AM, Tom Rink wrote:
Hi, I can get the failure from toolsUI-4.2 using the following NcML: <?xml version="1.0" encoding="UTF-8"?> <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2"> <attribute name="title" type="string" value="Union"/> <aggregation type="union"> <netcdf location="MYD021KM.A2011331.0400.005.2011332201942.hdf"/> <netcdf location="MYD03.A2011331.0400.005.2011332200801.hdf"/> </aggregation> </netcdf> On 12/20/11 4:50 PM, Tom Rink wrote:Hi, Does anybody know what this means: java.lang.IllegalArgumentException: VariableDS must not wrap a Structure; name=Level 1B Swath Metadata [java] at ucar.nc2.dataset.VariableDS.<init>(VariableDS.java:157) [java] at ucar.nc2.dataset.DatasetConstructor.transferGroup(DatasetConstructor.java:88) [java] at ucar.nc2.dataset.DatasetConstructor.transferDataset(DatasetConstructor.java:58) [java] at ucar.nc2.ncml.AggregationUnion.buildNetcdfDataset(AggregationUnion.java:66) [java] at ucar.nc2.ncml.Aggregation.finish(Aggregation.java:408) [java] at ucar.nc2.ncml.NcMLReader.readNetcdf(NcMLReader.java:487) [java] at ucar.nc2.ncml.NcMLReader.readNcML(NcMLReader.java:432) [java] at ucar.nc2.ncml.NcMLReader.readNcML(NcMLReader.java:350) [java] at ucar.nc2.ncml.NcMLReader.readNcML(NcMLReader.java:282) I'm trying to create a union aggregation between two files. Tom_______________________________________________ netcdf-java mailing list netcdf-java@xxxxxxxxxxxxxxxx For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/
netcdf-java
archives: