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.
Hello again DaveSorry to bother you for what may be a trivial question (I'm also unfamiliar with XPath, in case my question is related to XPath syntax)...
On the following page: https://geo-ide.noaa.gov/wiki/index.php?title=NetCDF_Attribute_Convention_for_Dataset_Discovery#RecommendedFor example we can read for the "creator_name" attribute a "metadata/creator/name" THREDDS path. But I'm not sure how to interpret this path. Is it a "name" attribute inside a "creator" group which is itself inside a "metadata" group? What means the @ character that we can read in some place? (for example "metadata/creator/contact@url")?
Later on the same page, there is a NcML example which contains (simplified): <group name="THREDDSMetadata"> <attribute name="id" value="crm_v1" /> <attribute name="creator_name" value="David Neufeld"/> <attribute name="creator_email" value="David.Neufeld@xxxxxxxx"/> </group> But this doesn't seem consistent with my previous paragraph: * The group name is "THREDDSMetadata", not "metadata" * There is no "creator" sub-group with a "name" attribute, but instead a "creator_name" attribute.Furthermore the http://ngdc.noaa.gov/metadata/published/xsl/nciso2.0/UnidataDD2MI.xsl file seems to give yet an other picture, since the path is defined as (omitting the global attribute):
/nc:netcdf/nc:group[@name='THREDDSMetadata']/nc:group[@name='creators']/nc:group[@name='creator']/nc:attribute[@name='name']/@valueWhich I interpret as "name" attribute inside a "creator" group, itself inside a "creators" group (does it means that we can have many groups named "creator" inside "creators" in a NetCDF file? I know we can do that in XML, but is it allowed in NetCDF too?), itself inside "THREDDSMetadata" group.
So I'm a little bit confused... Maybe my understing is not correct? What are the THREDDS attributes we are supposed to look at?
Martin
netcdf-java
archives: