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

Re: thredds catalog generator



Hi David,

Sorry haven't gotten back to you sooner. I'm out of office on vacation till Wed or Thursday but trying to stay on top of my email.

This is from our current documentation at http://motherlode.ucar.edu:8080/thredds/docs/GettingStarted.html (is this what you are looking at?):

*(1)* <service name="thisDODS" serviceType="OpenDAP" base="/thredds/dodsC/">
<datasetRoot path="test" location="content/testdata/" />
</service>
*(2)* <dataset name="Test Single Dataset" ID="testDataset" serviceName="thisDODS" urlPath="test/testData.nc" />


Looks like you might be looking at something a bit out of date. Our distribution doesn't have a content/thredds/dodsC directory anymore. (This is one of the problems with the very basic way we deal with the content/thredds directory. It allows user changes to survive thredds.war updates but it doesn't allow us to update things in content/thredds.)

Anyway, the basics of the above section of the document is that in the dataset, the "test" part of the urlPath matches the datasetRoot path value. This means that the dataset URL (http://server:port/thredds/dodsC/test/testData.nc) matches the "test" datasetRoot and the server looks in the "content/testdata" location for the testData.nc file. So, in this case the "test" part of the URL isn't actually represented at all in the directory location, it is merely a mapping between the url and the correct file/directory location.

Does that make sense?

Ethan


address@hidden wrote:

Hi Ethan, I'm trying to understand how to find datasets

I'm looking at the simple example under "Configuring the THREDDS Data
Server Catalog" for the single test file dataset.

The testData.nc file sitting at the $tomcathome\content\thredds\dodsC\data

Item 2 in the example shows this tag. I'm just a bit confused
by the urlPath. Why is it "test/testData.nc" and not "data/testData.nc"

(2) <dataset name="Test Single Dataset" ID="testDataset"
serviceName="thisDODS" urlPath="test/testData.nc" />

Thanks, David




-- 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/ ---------------------------------------------------------------------------



NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.