Thanks again, Roy! I tried your method, which sounded promising, but ran into
another glitch. GDS provides .info, .dds, and .das URLs but does not provide a
.html OPeNDAP access form. So, a URL to
http://apdrc.soest.hawaii.edu/dods/public_data/Model_output/HYCOM/hycom_hawaii_0.04
in my TDS tries to go to hycom_hawaii_0.04.html, which doesn't exist. TDS
automatically tacks on the .html extension when using the OPeNDAP serviceType.
If you or anybody has further suggestions, thanks in advance!
Best Regards,
John Maurer
----- Original Message -----
From: Roy Mendelssohn <Roy.Mendelssohn@xxxxxxxx>
Date: Wednesday, October 14, 2009 3:42 pm
Subject: Re: [thredds] how to incorporate GDS catalog into TDS?
To: "John Maurer, IV" <jmaurer@xxxxxxxxxx>
Cc: thredds <thredds@xxxxxxxxxxxxxxxx>
> I do not know enough about GDS to answer, but to do it as you
> want
> would require the GDS to have a hierarchical catalog which it
> does
> not. The alternative is to do as we have done on some
> sites, build
> your own subset catalogs for TDS and then only point at the GDS
> for
> the OPeNDAP service. Take a look at:
>
> http://oceanwatch.pfeg.noaa.gov/thredds/catalog.html
>
> and look at the first few non-satelite datasets. They are
> actually
> being served by a OpeNDAP DRDS server from a database.
> We created
> the sub catalog ourselves and then point to the OpeNAP html page
> for
> that service. It is a little more work but I think it will
> do want
> you want.
>
> -Roy
>
> On Oct 14, 2009, at 6:33 PM, John Maurer, IV wrote:
>
> > Thanks, Roy. Apparently an unencoded ampersand (&) is the
> problem in
> > the GDS catalog that is causing the XML parser to fail.
> However, I
> > notice that adding /xml or /catalog.xml to any of the GDS
> datasets
> > sends me back a complete dataset listing for the entire GDS
> catalog,
> > not just for the specific dataset I am interested in (i.e.
> HYCOM).
> > In reading the GDS User Guide, this is apparently the
> expected
> > behavior. Is there no way to access an XML catalog for a
> single GDS
> > dataset and then feed this into TDS?
> > Cheers,
> > John
> >
> > ----- Original Message -----
> > From: Roy Mendelssohn <Roy.Mendelssohn@xxxxxxxx>
> > Date: Wednesday, October 14, 2009 2:28 pm
> > Subject: Re: [thredds] how to incorporate GDS catalog into TDS?
> > To: "John Maurer, IV" <jmaurer@xxxxxxxxxx>
> > Cc: thredds <thredds@xxxxxxxxxxxxxxxx>
> >
> > > Perhaps that should be HYCOM/catalog.xml at the end of the
> > > URL.
> > > Also , when I do try to access that URL
> > > (HYCOM/catalog.xml) my
> > > browser states that there is an error:
> > >
> > > This page contains the following errors:
> > >
> > > error on line 9448 at column 66: xmlParseEntityRef: no name
> > >
> > >
> > > -Roy
> > >
> > > On Oct 14, 2009, at 5:13 PM, John Maurer, IV wrote:
> > >
> > > > Thanks, Roy. Here is the GDS URL that I am attempting to
> > > incorporate:>
> > > >
> > >
> http://apdrc.soest.hawaii.edu/dods/public_data/Model_output/HYCOM/xml
> > >
> > > > I added this line to my TDS catalog:
> > > >
> > > > <catalogRef xlink:title="Test"
> > >
> xlink:href="http://apdrc.soest.hawaii.edu/dods/public_data/Model_output/HYCOM/xml>
> > > " />
> > > >
> > > > And I get the following error when I click on the above "Test"
> > > link
> > > > in my TDS catalog:
> > > > Catalog Service Request - Catalog Has Fatal Error
> > > >
> > > > Catalog
> > >
> [http://apdrc.soest.hawaii.edu/dods/public_data/Model_output/HYCOM/
> > xml
> > > > ] has fatal errors:
> > > >
> > > > ----Catalog Validation version 1.0.01
> > > > **Fatal: InvCatalogFactory.readXML failed
> > > > Exception= org.jdom.input.JDOMParseException Error on line
> > > 9448 of
> > > > document
> > >
> http://apdrc.soest.hawaii.edu/dods/public_data/Model_output/HYCOM/xml:> > >
> The entity name must immediately follow the '&' in the
> > > entity
> > > > reference.
> > > > fatalMessages= *** XML parser fatalError (9448:66)= The entity
> > > name
> > > > must immediately follow the '&' in the entity reference.
> > > >
> > > > errMessages= *** XML parser error (2:33)= cvc-elt.1: Cannot
> > > find the
> > > > declaration of element 'serverdirectory'.
> > > >
> > > > warnMessages=
> > > >
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: Roy Mendelssohn <Roy.Mendelssohn@xxxxxxxx>
> > > > Date: Wednesday, October 14, 2009 2:02 pm
> > > > Subject: Re: [thredds] how to incorporate GDS catalog into TDS?
> > > > To: "John Maurer, IV" <jmaurer@xxxxxxxxxx>
> > > > Cc: thredds <thredds@xxxxxxxxxxxxxxxx>
> > > >
> > > > > Can you give the specifics of the part of the catalog that
> > > > > references
> > > > > he GDS and in what way it fails, and a pointer to the GDS
> > > > > also. TDS
> > > > > should just pass you on to the GDS.
> > > > >
> > > > > -roy
> > > > > On Oct 14, 2009, at 4:57 PM, John Maurer, IV wrote:
> > > > >
> > > > > > Dear THREDDS community,
> > > > > > I would like to incorporate a few datasets from an external
> > > > > GrADS
> > > > > > Data Server (GDS) Catalog into my existing TDS
> Catalog. What
> > > > > is the
> > > > > > best method of doing so? To rule out the obvious, I tested
> > > > > adding a
> > > > > > simple "catalogRef" to the external GDS catalog in my local
> > > > > TDS
> > > > > > catalog, which failed. Is the THREDDS Catalog
> Generator the
> > > > > way to
> > > > > > go? Thanks for any suggestions!
> > > > > > Best Regards,
> > > > > > John Maurer
> > > > > > ---
> > > > > > Hawaiʻi Ocean Observing System (http://hioos.org)
> > > > > > School of Ocean and Earth Science and Technology (SOEST)
> > > > > > University of Hawaiʻi at Mānoa
> > > > > > _______________________________________________
> > > > > > thredds mailing list
> > > > > > thredds@xxxxxxxxxxxxxxxx
> > > > > > For list information or to unsubscribe, visit:
> > > > > http://www.unidata.ucar.edu/mailing_lists/
> > > > > **********************
> > > > > "The contents of this message do not reflect any
> position of the
> > > > > U.S.
> > > > > Government or NOAA."
> > > > > **********************
> > > > > Roy Mendelssohn
> > > > > Supervisory Operations Research Analyst
> > > > > NOAA/NMFS
> > > > > Environmental Research Division
> > > > > Southwest Fisheries Science Center
> > > > > 1352 Lighthouse Avenue
> > > > > Pacific Grove, CA 93950-2097
> > > > >
> > > > > e-mail: Roy.Mendelssohn@xxxxxxxx (Note new e-mail address)
> > > > > voice: (831)-648-9029
> > > > > fax: (831)-648-8440
> > > > > www: http://www.pfeg.noaa.gov/
> > > > >
> > > > > "Old age and treachery will overcome youth and skill."
> > > > > "From those who have been given much, much will be expected"
> > > > >
> > >
> > > **********************
> > > "The contents of this message do not reflect any position of the
> > > U.S.
> > > Government or NOAA."
> > > **********************
> > > Roy Mendelssohn
> > > Supervisory Operations Research Analyst
> > > NOAA/NMFS
> > > Environmental Research Division
> > > Southwest Fisheries Science Center
> > > 1352 Lighthouse Avenue
> > > Pacific Grove, CA 93950-2097
> > >
> > > e-mail: Roy.Mendelssohn@xxxxxxxx (Note new e-mail address)
> > > voice: (831)-648-9029
> > > fax: (831)-648-8440
> > > www: http://www.pfeg.noaa.gov/
> > >
> > > "Old age and treachery will overcome youth and skill."
> > > "From those who have been given much, much will be expected"
> > >
>
> **********************
> "The contents of this message do not reflect any position of the
> U.S.
> Government or NOAA."
> **********************
> Roy Mendelssohn
> Supervisory Operations Research Analyst
> NOAA/NMFS
> Environmental Research Division
> Southwest Fisheries Science Center
> 1352 Lighthouse Avenue
> Pacific Grove, CA 93950-2097
>
> e-mail: Roy.Mendelssohn@xxxxxxxx (Note new e-mail address)
> voice: (831)-648-9029
> fax: (831)-648-8440
> www: http://www.pfeg.noaa.gov/
>
> "Old age and treachery will overcome youth and skill."
> "From those who have been given much, much will be expected"
>