Hello,
Looks like the following problem may have resurfaced using a very recent
version:
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"
<http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2%22>;>
<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