Re: [thredds] thredds Digest, Vol 31, Issue 11

Hi Oliver,

I don't have much direct experience with this, but the proper way to attach
metadata to a THREDDS dataset  or dataset variable is with NcML.  Here's
some doco from Unidata on doing this:

http://www.unidata.ucar.edu/projects/THREDDS/tech/tds4.2/tutorial/NcML.htm

Hope this helps (and hope I understand what you're asking).

John



On Tue, Aug 16, 2011 at 2:00 PM, <thredds-request@xxxxxxxxxxxxxxxx> wrote:

> Send thredds mailing list submissions to
>        thredds@xxxxxxxxxxxxxxxx
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://mailman.unidata.ucar.edu/mailman/listinfo/thredds
> or, via email, send a message with subject or body 'help' to
>        thredds-request@xxxxxxxxxxxxxxxx
>
> You can reach the person managing the list at
>        thredds-owner@xxxxxxxxxxxxxxxx
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of thredds digest..."
>
>
> thredds mailing list
> thredds@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit:
> http://www.unidata.ucar.edu/mailing_lists/
>
> Today's Topics:
>
>   1. Re: attach metadata to a dataset (Oliver)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 15 Aug 2011 23:11:34 -0400
> From: Oliver <python152@xxxxxxxxx>
> To: thredds@xxxxxxxxxxxxxxxx
> Subject: Re: [thredds] attach metadata to a dataset
> Message-ID:
>        <CAPj7Qkmf7yp0sXx_DNw2REO_6aZUNWEXe3KLLMSi9CAMuTW7JQ@xxxxxxxxxxxxxx
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> Trying to ping again on the following question ... it doesn't make sense?
>
> thanks
>
> On Sat, Aug 13, 2011 at 11:11 PM, Oliver <python152@xxxxxxxxx> wrote:
> > hi all -
> >
> > I am trying to ?thredds.catalog API to generate a customized catalog,
> > one thing is not clear to me by looking at Java doc is how to
> > associate a metadata section to a dataset. For example, one sample
> > catalog I want to generate is:
> >
> > ? <dataset>
> > ? ? ? ?<properties> ... </property>
> > ? ? ? ?<metadata inherited="true">
> > ? ? ? ? ? ? ?<dataType> GRID </dataType>
> > ? ? ? ? ? ? ?<variables> ...
> > ? ? ? ?</metadata>
> >
> > ? ? ? ?<dataset> ... </dataset>
> > ? </dataset>
> >
> > As I look at the the java API for InvDatasetImpl, I don't see how I
> > can put in this metadata structure.
> > Am I missing something here?
> >
> > Thanks for help.
> >
> >
> > Oliver
> >
> > _______________________________________________
> > thredds mailing list
> > thredds@xxxxxxxxxxxxxxxx
> > For list information or to unsubscribe, ?visit:
> http://www.unidata.ucar.edu/mailing_lists/
> >
>
>
>
> --
> Oliver
>
>
>
> End of thredds Digest, Vol 31, Issue 11
> ***************************************
>