Hi Mark,
Both service definitions are fine. Rather, I suspect the problem is that
you haven't defined a dataset root [1]. Here is a very basic example:
<?xml version="1.0" encoding="UTF-8"?>
<catalog name="Local TDS" xmlns="
http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0"
version="1.0.6" xmlns:xlink="http://www.w3.org/1999/xlink">
<service name="http" serviceType="HTTPServer"
base="/thredds/fileServer/"/>
<datasetRoot path="my/data" location="C:/Users/cwardgar/dev/data" />
<dataset name="A Test Dataset" ID="testDataset" urlPath="my/data/foo.nc"
>
<serviceName>http</serviceName>
</dataset>
</catalog>
I have a file at C:/Users/cwardgar/dev/data/foo.nc that TDS serves at
http://localhost:8080/thredds/fileServer/my/data/foo.nc. In the datasetRoot
element, the path I've chosen is arbitrary; the location is not (unless I
move the file).
Cheers,
Christian
[1]
http://www.unidata.ucar.edu/software/thredds/current/tds/tutorial/BasicConfigCatalogs.html#ConfigCatalogs
On Mon, Jun 22, 2015 at 12:19 PM, Mark Maciolek <mlm@xxxxxxxxxx> wrote:
> hi,
>
> Trying to get the thredds service fileServer working on our system
> thredds 4.3
>
>
> http://www.opal.sr.unh.edu/thredds/catalog/opal_ts/WBD/catalog.html?dataset=opal_ts/WBD/WBD_2015.nc
>
>
> - *Data format: *netCDF
> - *Data size: *1.034 Mbytes
> - *Data type: *GRID
> - *ID: *opal_ts/WBD/WBD_2015.nc
>
>
> from the catalog.xml file:
>
> <service name="fileServer" serviceType="HTTPServer"
> base="/thredds/fileServer
> /"/>
>
> have also tried this:
>
> <service name="http" serviceType="HTTPServer" base="/thredds/fileServer/"
> />
>
> get 404 error
>
> there is nothing in the threddsServlet.log
>
> Is there another config file or xml file I should be looking at?
>
> mark
>
> --
>
> Mark Maciolek
> Network Administrator
> Morse Hall Room
> 339603-862-3050https://www.unh.edu/research/support-units/research-computing-center
>
>
> _______________________________________________
> thredds mailing list
> thredds@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe, visit:
> http://www.unidata.ucar.edu/mailing_lists/
>