[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: catalogRef element



Thank you.
Fabien.

At 18:10 30/03/2007, Ethan Davis wrote:
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:    address@hidden
P.O. Box 3000
Boulder, CO  80307-3000                       http://www.unidata.ucar.edu/
---------------------------------------------------------------------------




Cliquez sur l'url suivante https://www.mailcontrol.com/sr/a9Dz55SCdh9TtEfuHl7O8tbncftUi5D+Rh7QKPoYthJbxhmWZp3xO6PAnBGp2hyeXGFChwz9WKc39Nla53db6hE0a0KaDzki26sA7P8+AxHNr6CNP+ruCwoPAwmvdcKBDwNehWsLMmDWLgTMM!Zc9R3R9Hdrb+VxR4Er1IU2+7A29LBrwdIAmAzdQy+2ydkossOEO2kwKgB!AlnKaLkYNuAx0XL3InfQ
                   si ce message est indésirable (pourriel).


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