[thredds] <dataSize> embedded within <metadata> within <dataset> not picked up by NetCDF-Java Library.
Ethan Davis
edavis at unidata.ucar.edu
Fri Feb 29 13:49:08 MST 2008
Hi Hannah,
Hannah Wilcox wrote:
> Hello!
>
> I am using the NetCDF-Java Library to parse TDS configuration THREDDS
> catalogs and I've run into a sticky point that I'm hoping you can
> help sort out. I have an example TDS configuration file which I can
> read in and validate using the NetCDF-Java Library, but a certain
> piece of information I'm expecting to see is either NOT there, or in
> a place I'm not looking. The piece of information is a dataSize for
> a dataset. The twist here is that the dataSize is embedded within a
> metadata tag thusly:
>
> <dataset name="Atmosphere"
> ID="cgcm3.1_t47_atmos" serviceName="gridded">
> <metadata inherited="false">
> <dataSize
> units="Kbytes">439.78</dataSize>
> </metadata>
> </dataset>
>
> The specification says that a <dataset> can contain an element of the
> threddsMetadataGroup which contains <metadata> and <metadata> can
> contain elements of the threddsMetadataGroup which includes
> <dataSize>. However when I look at the InvDatasetImpl that this
> example produces, getDataSize() returns 0.0 and I cannot see the size
> in any of the metadata structures.
>
>
> My questions are:
>
> - Is this a valid structure?
>
Yes, it is valid.
> - If it is a valid structure, is there a reason the size element of
> an InvDatasetImpl is not populated with the dataSize from this
> structure?
>
Oops, that's a bug. We'll get a fix out soon.
Ethan
> - If it isn't a valid structure, can that somehow be noted or
> changed in the specification?
>
>
> Thanks for your time,
>
>
> Hannah Wilcox
>
> Software Engineer in the VETS group
> hannah at ucar.edu
> _______________________________________________
> thredds mailing list
> thredds at unidata.ucar.edu
> For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/
>
--
Ethan R. Davis Telephone: (303) 497-8155
Software Engineer Fax: (303) 497-8690
UCAR Unidata Program Center E-mail: edavis at ucar.edu
P.O. Box 3000
Boulder, CO 80307-3000 http://www.unidata.ucar.edu/
---------------------------------------------------------------------------
More information about the thredds
mailing list