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.

Re: catalogRef element

Hi Fabien,

In your content/thredds/catalog.xml, try changing

<catalogRef xlink:href="./psy3v1/catalog.xml" xlink:title="test psy3v1" />
to
   <catalogRef xlink:href="psy3v1/catalog.xml" xlink:title="test psy3v1" />

Just dropping the leading "./" from he catalogRef xlink:href.

I think that should work. I'll work on a fix for our next release so an href starting with "./" doesn't brake things.

Ethan

Fabien Goblet wrote:
Hi,
I'm a new user of TDS.
I'm trying to get a thredds server but I have problem with the catalogRef element :

Here is my $TOMCAT_HOME/content/thredds/catalog.xml :

<?xml version="1.0" encoding="UTF-8"?>
<catalog xmlns="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0";
         xmlns:xlink="http://www.w3.org/1999/xlink"; version="1.0.1" >

  <dataset name="test">
<catalogRef xlink:href="./psy3v1/catalog.xml" xlink:title="test psy3v1" />
  </dataset>

</catalog>

Here is my $TOMCAT_HOME/content/thredds/psy3v1/catalog.xml :

<?xml version="1.0" encoding="UTF-8"?>
<catalog xmlns="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0";
         xmlns:xlink="http://www.w3.org/1999/xlink"; version="1.0.1" >

<service name="HTTPServer" serviceType="HTTPServer" base="/thredds/fileServer/" /> <datasetRoot path="datapath" location="/data/mercator/developpement/goblet/data/med/" /> <dataset name="data file test 1" ID="1" serviceName="HTTPServer" urlPath="datapath/mercatorPsy3v1R1v_med_mean_20060215_R20060301.nc" />

</catalog>

And I get this message :

-- Catalog Validation version 1.0.01
**Fatal:InvCatalogFactory.readXML failed
Exception=java.io.FileNotFoundException http://opendap-dev:8880/thredds/psy3v1/catalog.xml
fatalMessages
errMessages
warmMessages

** Cant open URL <http://opendap-dev:8880/thredds/psy3v1/catalog.xml>
   Response code = 404
Not Found

And I don't know why.
Am I correctly used this element?
Is catalogRef element usually used to break up large catalog?

Best regards,
Fabien Goblet.

===============================================================================
To unsubscribe thredds, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
===============================================================================

--
Ethan R. Davis                                Telephone: (303) 497-8155
Software Engineer                             Fax:       (303) 497-8690
UCAR Unidata Program Center                   E-mail:    edavis@xxxxxxxx
P.O. Box 3000
Boulder, CO  80307-3000                       http://www.unidata.ucar.edu/
---------------------------------------------------------------------------


==============================================================================
To unsubscribe thredds, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================


  • 2007 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: