[thredds] catalogRef question.
Ethan Davis
edavis at unidata.ucar.edu
Tue Jul 15 14:22:25 MDT 2008
Hi Nathan,
The HTML view of a catalog isn't defined in the spec. So, the TDS (and
underlying servlet framwork) does not assume that a remote THREDDS
catalog can be requested in an HTML view with a simple replacement of
.xml with .html. Instead it tries to generate the HTML view itself with
the service URL you are seeing.
Ethan
Nathan Potter wrote:
> Ethan et al.,
>
>
> This is a question about THREDDS 3.16 and DataRootHandler.
>
> I am looking at configuring a THREDDS catalog to reference a catalog
> on another system. I imagined that I could put this:
>
>
> <catalogRef xlink:href="http://motherlode.ucar.edu:8080/thredds/catalog.xml
> " xlink:type="simple" xlink:title="Motherlode, UNIDATA"
> name="Motherlode_UNIDATA"/>
>
> into my catalog.xml.
>
>
> When I do that and ask the server for the catalog.xml I get this entry:
>
> <catalogRef xlink:href="http://motherlode.ucar.edu:8080/thredds/catalog.xml
> " xlink:title="Motherlode, UNIDATA" name="" />
>
> Although it lost the xlink:type attribute (which is expected) and also
> the value of the name attribute (not expected), it should still work
> since the the xlink:href attribute is correct, and dereferencing that
> absolute URL it will get you that catalog.
>
> However when I ask for the catalog.html I get this bit:
>
> <a href="/opendap/catalogServices?catalog=http://motherlode.ucar.edu:8080/thredds/catalog.xml
> "><tt>Motherlode, UNIDATA/</tt></a></td>
>
>
> Now, in my mind the value href attribute should have been:
>
> http://motherlode.ucar.edu:8080/thredds/catalog.html
>
> I think this because this (the catalog.html document) is the
> presentation view of the catalog and it should point to the
> presentation view of the referenced catalog. Rather, it points to a
> local servlet... Which I am not running :( because I didn't know about
> it or what it might do.
>
> Can you explain what's going on?
>
>
>
> Nathan
>
>
>
> = = =
> Nathan Potter ndp at opendap.org
> OPeNDAP, Inc. 541.752.1852
>
>
> _______________________________________________
> 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